extmaillist at linuxbox.cz
2009-Nov-12 06:48 UTC
[Samba] Pdbedit <-> /etc/passwd sync? (fwd)
Hi, have you some idea/solving ? thanks, Lukas -- ---------- Forwarded message ---------- Date: Tue, 10 Nov 2009 15:01:19 +0100 (CET) From: extmaillist at linuxbox.cz To: samba at lists.samba.org X-Spam-Score: -1.0 (), 4 required Subject: [Samba] Pdbedit <-> /etc/passwd sync? Hi, i have a question about syncing without pdbedit (exactly iformations stored in passdb.tdb) and /etc/passwd. I creating user with some comment, for example adduser test -c "my comment" -d /home/users/test -g 600 -s /bin/false and then i will add this user to samba pdbedit -a -s /etc/samba/smb.conf -u test Now i have stored in samba also comment "my comment", but why? Pdbedit can load this comment from /etc/passwd and save to passdb.tdb? Can I change this behaviour? I dont want storing this infomations duplicated (in /etc/passwd and also in /passdb.tdb). If i modifying existing user and i changed comment in /etc/passwd, then comment in passdb.tdb remain a same. It's possible load comment from /etc/passwd to passdb.tdb "on the fly", it means without permanent storing in passdb.tdb I have in smb.conf this setting: unix password sync = yes but i think that this parameter dont have effect for this behavior. thanks, Lukas -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba