Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

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

THE CODE IS AS UNDER:

[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

asked 13 Apr '15, 03:06

Yawar_Aziz's gravatar image

Yawar_Aziz
11113
accept rate: 0%

edited 13 Apr '15, 03:59

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6

Asked: 13 Apr '15, 03:06

Seen: 18,992 times

Last updated: 13 Apr '15, 03:59

powered by OSQA