Sponsored Content
Operating Systems Linux Red Hat RHEL 6 SAMBA PDC not loading user's profile Post 302941080 by Yawar_Aziz on Monday 13th of April 2015 03:21:15 AM
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.

Thanks/Regards

Code:
[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


Last edited by Yawar_Aziz; 04-13-2015 at 04:55 AM..
 

9 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

9. 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
cupsaddsmb(8)							    Apple Inc.							     cupsaddsmb(8)

NAME
cupsaddsmb - export printers to samba for windows clients SYNOPSIS
cupsaddsmb [ -H samba-server ] [ -U samba-user[%samba-password] ] [ -h cups-server[:port] ] [ -v ] -a cupsaddsmb [ -H samba-server ] [ -U samba-user[%samba-password] ] [ -h cups-server[:port] ] [ -v ] printer [ ... printer ] DESCRIPTION
The cupsaddsmb program exports printers to the SAMBA software (version 2.2.0 or higher) for use with Windows clients. Depending on the SAMBA configuration, you may need to provide a password to export the printers. This program requires the Windows printer driver files described below. SAMBA CONFIGURATION cupsaddsmb uses the RPC-based printing support in SAMBA to provide printer drivers and PPD files to Windows client machines. In order to use this functionality, you must first configure the SAMBA smb.conf(5) file to support printing through CUPS and provide a printer driver download share, as follows: [global] load printers = yes printing = cups printcap name = cups [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes [print$] comment = Printer Drivers path = /etc/samba/drivers browseable = yes guest ok = no read only = yes write list = root This configuration assumes a FHS-compliant installation of SAMBA; adjust the [printers] and [print$] share paths accordingly on your system as needed. MICROSOFT POSTSCRIPT DRIVERS FOR WINDOWS The base driver for Windows 2000 and higher is the Microsoft PostScript driver, which is available on any system running Windows 2000 or higher in the %WINDIR%SYSTEM32SPOOLDRIVERSW32X863 folder for 32-bit drivers and %WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for 64-bit drivers. Copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory exactly as named below: ps5ui.dll pscript.hlp pscript.ntf pscript5.dll Note: Unlike Windows, case is significant - make sure that you use the lowercase filenames shown above, otherwise cupsaddsmb will fail to export the drivers. OPTIONS
cupsaddsmb supports the following options: -H samba-server Specifies the SAMBA server which defaults to the CUPS server. -U samba-user[%samba-password] Specifies the SAMBA print admin username which defaults to your current username. If the username contains a percent (%) character, then the text following the percent is treated as the SAMBA password to use. -a Exports all known printers. Otherwise only the named printers are exported. -h cups-server[:port] Specifies a different CUPS server to use. -v Specifies that verbose information should be shown. This is useful for debugging SAMBA configuration problems. SEE ALSO
rpcclient(1), smbclient(1), smbd(8), smb.conf(5), CUPS Online Help (http://localhost:631/help) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 11 June 2014 CUPS cupsaddsmb(8)
All times are GMT -4. The time now is 09:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy