RHEL 6 SAMBA PDC not loading user's profile

Thread Tools Search this Thread
Operating Systems Linux Red Hat RHEL 6 SAMBA PDC not loading user's profile
# 1  
Old 04-13-2015
RedHat 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.


        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 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

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

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

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

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

        comment = Printer Drivers Share
        path = /var/lib/samba/drivers
        write list = root

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

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

Last edited by Yawar_Aziz; 04-13-2015 at 05:55 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

User (Profile) Specific Start Menu for RHEL 6.1 using KDE 4.3.4

I installed RHEL 6.1 with KDE 4.3.4 using LDAP on a PC and have now the problem to specifiy a user/Profile specific start menu. I have used already the kmenuedit tool and tailored for one user a specific menu, successfully. I changed as an example the konsole submenu. The kmenuedit was... (0 Replies)
Discussion started by: Gromit
0 Replies

2. UNIX for Dummies Questions & Answers

[Solved] Loading user profile

I need some help on solaris, setting java path: $ PATH=/var/tmp/jdk1.5.0_22/jre/bin $ export PATH $ java -version I got the correct version for the application to run, which is: java version "1.5.0_22" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03) Java... (7 Replies)
Discussion started by: fretagi
7 Replies

3. Red Hat

Samba create mask and dir mask on RHEL 4.8

Hi Experts, I'm using samba -3.6.1 on Red Hat Enterprise Linux ES release 4 (Nahant Update 8) ,all seems ok. The issue im facing is as follows. When ever a user creates a file via windows explorer the permissions assgined to the file are as follows -rw-rwxr--+ 1 tom group2 0 Mar 9... (1 Reply)
Discussion started by: maverick_here
1 Replies

4. Red Hat

Samba Client for RHEL 4

I am looking for a Samba Client for a redhat 4 installation. I can't find it anywhere on the web. Does anyone have a link where i can find a working version ? This is my version: Red Hat Enterprise Linux AS release 4 (Nahant Update 7) /usr/bin/file: ELF 32-bit LSB executable, Intel... (5 Replies)
Discussion started by: guidovans
5 Replies

5. Homework & Coursework Questions

cannot join xp or vista to samba domain (PDC)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I have a barebones XP Pro SP2 with no firewall. CentOS 5.xx running a Samba 3.xx Domain (PDC) The XP machine... (2 Replies)
Discussion started by: pogipants
2 Replies

6. UNIX for Dummies Questions & Answers

migrate samba pdc from one server to another

Hi there, Hope this forum is adapted to my question. I have : + 1 Debian server with Samba set to authenticate users in the domain HOME (workgroup = HOME / domain logons = yes). + 3 Windows XP Laptops configured to belong to the domain HOME. So on startup, I'm invited to enter a login password... (2 Replies)
Discussion started by: chebarbudo
2 Replies

7. Infrastructure Monitoring

trap in etc/profile and user .profile

Hello I really wonder what's trap in etc/profile and in each user .profile. I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing. I want to know ... 1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies

8. UNIX for Dummies Questions & Answers

User Profile

Hi Guys, Im really new with this stuff...could anybody help to guide me ...how do i change/edit user profiile ? (2 Replies)
Discussion started by: gagasan_makmur
2 Replies

9. Shell Programming and Scripting

User profile

Sorry to I am not familiar with script writing , attach is the /etc/profile in my system , we have limit each user can only have one login in the system . When the user login , if the system found the user have a dead process in the system , the system will confirm the user to kill the previous... (1 Reply)
Discussion started by: ust
1 Replies
Login or Register to Ask a Question

Featured Tech Videos