This is an old revision of the document!


/etc/fstab

 //server/share     /media/cifs/  cifs    rw,user,auto,credentials=/home/username/.smbcredentials,uid=1000,gid=100 1 2
 $ vim .smbcredentials

.smbcredentials

 username=foobar
 password=blabla
 $ chmod 600 .smbcredentials

pdbedit –pwd-must-change-time=timestamp username
timestamp je unix time ko mora spremenit password
ce das to na 0 pol bo moral spremenit

linux/samba.1167753621.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready