LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-02-2007, 03:21 PM   #1
besnia
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Unhappy Samba 3.023d and openSUSE 10.2


Hello to everyone,

After spending 4 full days on trying to setup Samba 3.023d and openSUSE 10.2 I finally am able to login from a Win XP Pro SP2 client. The problem I have though is that I can log in the first time (when my profile is created in /var/lib/samba/profiles) but when I try to logoff I get this error:

Quote:
Windows cannot update your roaming profile. Possible causes of this error include network problems or insufficient security rights. If this problem persists, contact your network administrator.


DETAIL - Access is denied.
Now if I try to log back in the already created profile I get this error:

Quote:
Windows cannot update your roaming profile. Possible causes of this error include network problems or insufficient security rights. If this problem persists, contact your network administrator.


DETAIL - Access is denied.
If I go and delete my whole profile folder from /var/lib/samba/profiles I can log again and it is like it is for the first time as it creates the profile folder. And the whole scenario repeats. I have changed the ownership of the profile folder to the userid (chown user /var/lib/samba/profiles/user) but no luck. Still same thing.

This is the setup I followed:
http://en.opensuse.org/Howto_setup_S...1_as_Samba_PDC

I found it very helpful but I am stuck now. I read through forums and install docs in samba.org but nothing on this issue

Any help is greatly appreciated. This is my first PDC setup so please bear with me on the newbie question. Thanks in advance!

Here is my smb.conf

Quote:
# Defining domain name, hostname
####################################################
[global]
workgroup = foobar.tld
netbios name = bar

# Specifying ldapsam backend database
####################################################
passdb backend = ldapsam:ldap://127.0.0.1
username map = /etc/samba/smbusers

# Specifying printing subsystem
####################################################
printcap name = cups
printing = cups

add user script = /usr/sbin/smbldap-useradd -m %u
delete user script = /usr/sbin/smbldap-userdel %u
add group script = /usr/sbin/smbldap-groupadd -p %g
delete group script = /usr/sbin/smbldap-groupdel %g
add user to group script = /usr/sbin/smbldap-groupmod -m %g %u
delete user from group script = /usr/sbin/smbldap-groupmod -x %g %u
set primary group script = /usr/sbin/smbldap-usermod -g %g %u
add machine script = /usr/sbin/smbldap-useradd -w %u

# Various other directives ( man smb.conf )
####################################################
obey pam restrictions = Yes
logon script = scripts\logon.bat
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 44
preferred master = Yes
domain master = Yes
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
show add printer wizard = yes

# OpenLDAP stuff is defined here
###################################################
ldap suffix = dc=foobar,dc=tld
ldap machine suffix = ou=Computers
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Users
ldap admin dn = cn=Manager,dc=foobar,dc=tld
ldap ssl = no
ldap passwd sync = Yes
idmap uid = 15000-20000
idmap gid = 15000-20000

# Defining logging facility
####################################################
log level = 256
log file = /var/log/samba/%m.log

# Virus Scanning Definition
####################################################
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

# Defining user home directories
####################################################
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

# Defining printers
#
#Some problems appear with this configuration of printers
#and Printer$ in OpenSUSE 10.1 please use this :
#
[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 = NLService
path = /var/lib/samba/netlogon
guest ok = Yes
browseable = No

# Defining profile share ( for roaming profiles )
####################################################
[profiles]
comment = Roaming Profiles
path = /var/lib/samba/profiles
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
force user = %U
valid users = %U "Domain Admins"
read only = No
profile acls = Yes

# Defining arbitary shared resource
####################################################
[share]
comment = data share
path = /opt/stuff
valid users = %U

Last edited by besnia; 01-02-2007 at 03:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSuse 10.2 is out johann_p Linux - News 13 02-18-2007 11:27 AM
No Sound in OpenSUSE 10.2... Krucifixation Linux - Laptop and Netbook 11 01-04-2007 03:01 AM
OpenSuSe on G4? adam-red SUSE / openSUSE 1 04-30-2006 02:55 PM
kxdocker for openSUSE 10? SLP SUSE / openSUSE 3 02-02-2006 07:51 PM
OpenSuse 10.0 mikz SUSE / openSUSE 3 11-17-2005 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration