LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   RHEL 6 SAMBA PDC not loading user's profile (https://www.linuxquestions.org/questions/linux-enterprise-47/rhel-6-samba-pdc-not-loading-users-profile-4175539535/)

Yawar_Aziz 04-13-2015 02:15 AM

RHEL 6 SAMBA PDC not loading user's profile
 
Hi all

I am facing a problem.

I have configured SAMBA PDC on RHEL 6. Everything is going very smooth. Users are being logged in properly & their network drives (i-e; z: drives) are being shown. But either i login to Windows XP or Windows 7, user's profile does not get loaded. I get an error message, "You are logged in with a temporary profile". It would be so nice of you if anyone among you could guide me properly for how to resolve this issue.

A swift response would be highly appreciated.

Thanks/Regards

HERE IS THE CODE OF MY SMB.CONF FILE

Quote:

[global]
add group script = /usr/sbin/groupadd g
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u
add user script = /usr/sbin/useradd -m %u
add user to group script = /usr/sbin/groupmod -G %g %u
cups options = raw
delete user script = /usr/sbin/userdel -r %u

dns proxy = no
domain logons = yes
domain master = yes
hosts allow = x.x.
idmap gid = 15000-25000
idmap uid = 15000-25000

log file = /var/log/samba/%m.log
logon drive = z:
logon home = \\%L\%U
logon path = \\%L\profiles\%U
logon script = logon.bat
max log size = 50

netbios name = abc
os level = 65
passdb backend = tdbsam
passwd chat = *New*Unix*Password* %n\n *ReType*new*Unix*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
passwd program = /usr/bin/passwd %u

preferred master = yes
printcap name = cups
printing = cups
security = user
server string = abc Samba Server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
time server = yes
unix password sync = no
workgroup = abc

[homes]
comment = Home Directories
valid users = %U
browseable = no
read only = no
#valid users = %s

[netlogon]
comment = Network Logon Services
path = /var/lib/samba/netlogon
browseable = no
guest ok = yes
admin users = root

[profiles]
comment = Roaming Profiles
path = /home/samba/profiles
browseable = no
read only = no
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
create mask = 0600
guest ok = yes

[print$]
comment = Printer Drivers Share
path = /var/lib/samba/drivers
write list = root

[public]
comment = Public Stuff
path = /home/samba/public
read only = no
public = yes
create mask = 0777
directory mask = 0777

[WingLvlShare]
comment = Wing Level Sharing
path = /home/samba/wing-level
read only = no
writable = yes
public = no
create mask = 0770
directory mask = 0770

dijetlo 04-14-2015 06:30 PM

That could be a result of the credentials manager holding a prior log in UiD/psswd in Win7. I don't think your SAMBA server is passing out temporary credentials, so if I had to guess, it's something going on with the credentials on the windows side.

madhan.dctrvs 04-15-2015 06:44 AM

Samba client error
 
Hi Aziz,

It seems that you have not created the profile Locally for the domain user.That's why returning this error.Please create the Local user in the client with the domain username (The name which you are Logging in).


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