[Samba] Temporary Profiles
John H Terpstra
jht at samba.org
Thu Dec 1 16:48:06 GMT 2005
On Thursday 01 December 2005 03:01, Oliver Schneider wrote:
> Hi,
>
> I have got a problem with samba for days now and I don't know how to solve
> it.
>
> My problem is, that it doesn't matter if I enable or disable Roaming
> Profiles, all I get is a temporary profile.
>
> If i enable Roaming Profiles, than i get a temporary serverside Profile. If
> I disable Roaming Profiles, than i get a temporary local Profile.
>
> Can somebody please help me?
>
> With Roaming Profiles I think it is a problem with Filepermissions. Root
> get's a full Serverside Profile (not the smb.conf below), but only root.
> I just want a local Profile for the users, so it is not so relevant.
Please follow the examples in my book "Samba-3 by Example". This book is the
official Samba deployment guide. If you experince any problems with the
examples in this book I will help you to find the cause by which the book
mis-directed you. After all, I want the documentation to be correct and of
true value.
Samba-3 by Example provides fully documented, step-by-step, installation and
depoyment instructions for complete networking solutions. It coveres simple
networks and progressively introduces complex networking examples. Every
necessary configuration file is provided.
Every time I have helped people on this list who have reported problems with
Samba deployment - issues such as logon scripts that will not run, roaming
profiles that fail to work correctly, not being able to join a domain, and so
on, the solutions in this book solved the users' problem.
If you do not follow the documentation provided, you will possibly go through
a more painful learning process. The choice is yours.
- John T.
>
> Oliver
>
> Samba is PDC
>
>
> [global]
> include = /etc/samba/dhcp.conf
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> logon drive = H:
> hide dot files = yes
> domain master = Yes
> username map = /etc/samba/smbusers
> map to guest = Bad User
> printer admin = @ntadmin, root, administrator
> logon home = \\%L\%U\.9xprofile
> passwd program = /usr/bin/passwd %u
> wins support = true
> printcap cache time = 750
> netbios name = fileserver
> cups options = raw
> printing = cups
> unix password sync = yes
> local master = Yes
> logon path =
> logon script = logon.bat
> workgroup = SJ
> os level = 65
> printcap name = cups
> security = user
> add machine script = /usr/sbin/useradd -c Machine -d
> /var/lib/nobody -s /bin/false %m$
> domain logons = Yes
> preferred master = Yes
> load printers = yes
> passdb backend = smbpasswd
>
> [homes]
> comment = Home Directories
> valid users = %S
> browseable = No
> read only = No
> inherit acls = Yes
>
> [profiles]
> comment = Network Profiles Service
> path = %H
> read only = No
> # store dos attributes = Yes
> create mask = 0600
> directory mask = 0700
>
> [users]
> comment = All users
> path = /home
> read only = No
> inherit acls = Yes
> veto files = /aquota.user/groups/shares/
>
> [groups]
> comment = All groups
> path = /home/groups
> read only = No
> inherit acls = Yes
>
> [printers]
> comment = All Printers
> path = /var/tmp
> printable = Yes
> create mask = 0600
> browseable = No
>
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/drivers
> write list = @ntadmin root
> force group = ntadmin
> create mask = 0664
> directory mask = 0775
>
> [netlogon]
> comment = Network Logon Service
> path = /var/lib/samba/netlogon
> write list = @user, root
> guest ok = yes
> locking = No
--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668
Author:
The Official Samba-3 HOWTO & Reference Guide, 2 Ed., ISBN: 0131882228
Samba-3 by Example, 2 Ed., ISBN: 0131882221X
Hardening Linux, ISBN: 0072254971
Other books in production.
More information about the samba
mailing list