[Samba] Samba with LDAP Authentication
Hello All, I want to authenticate existing LDAP users to samba shares. From what i have been reading, it seems like there are two ways to achieve this 1. Configure samba to use plaintext passwords (encrypt passwords = no in smb.conf) and configure clients to send unencrypted passwords. 2. Use smbpasswd utility to add users. Using this utility the user's samba password will be different from the LDAP password. I don't want to use plaintext authentication so cannot use the first method described here. I also want the samba password to be the same as the LDAP password and must be in sync. Is there anyway to achieve this? Can anyone please point me in the right direction? I would really appreciate your help. Thanks, Amit -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Weird issue with samba 3.4.7
Hello Chris, Thank you for your response. I appreciate it. > Are you using a custom cert for your ldap server? - Yes i am using a custom cert for the ldap connection > If so, do you have the root cert installed and do your ldap configuration > files have the right tls_cacertfile entries? - I have the root cert installed and the samba host has the right tls_certificate entries - > Is your ldap password password properly configured on the 10.04 host? - Yes the ldap password is properly configured on the samba 10.04 host. When i add the following directives to the smb.conf file and run "smbpasswd -W" to write the password to the secrets.tdb file, samba is able to connect to the LDAP server (verified through logs) and do a user lookup. Now users trying to mount the shares are authenticated successfully only if they have previously logged in to the system (via ssh), else i get errors (in logs) such as "NT_STATUS_WRONG_PASSWORD". I am stuck here. For now, I am reading how authentication in samba works. Thanks, Amit On Oct 26, 2011, at 12:22 PM, Chris Perry wrote: > On Wed, Oct 26, 2011 at 2:59 PM, Amit More wrote: > >> Hello All, >> >> >> I have samba version 3.3.2 installed on a system running Ubuntu Server 9.04 >> (32-bit). The users trying to mount the samba shares authenticate over the >> LDAP server. >> Here is how my configuration files look like, >> > > Your /etc/nsswitch.conf and pam.d configurations look identical to my 10.04 > 64bit config, other than the fact that I don't have the pam_smbpass.so in > password or pam_mkhomerdir.so in session, so I don't think your problem lies > there. > > I would check your ldap configuration to make sure that works properly > before investigating the samba config. > In that regard a few questions come to mind: > > Are you using a custom cert for your ldap server? > If so, do you have the root cert installed and do your ldap configuration > files have the right tls_cacertfile entries? > Is your ldap password password properly configured on the 10.04 host? > > -Chris > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Weird issue with samba 3.4.7
Hello All, I have samba version 3.3.2 installed on a system running Ubuntu Server 9.04 (32-bit). The users trying to mount the samba shares authenticate over the LDAP server. Here is how my configuration files look like, 1. /etc/samba/smb.conf [global] server string = %h server (Samba, Ubuntu) map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d passdb backend = ldapsam:ldaps://ldap1.xetus.com ldap suffix = dc=xetus,dc=com 2. /etc/nsswitch.conf passwd: files ldap group: files ldap shadow: files ldap hosts: files dns networks:files protocols:db files services: db files ethers:db files rpc: db files netgroup: nis 3. /etc/pam.d/common-auth auth[success=2 default=ignore] pam_unix.so nullok_secure auth[success=1 default=ignore] pam_ldap.so use_first_pass authrequisite pam_deny.so authrequiredpam_permit.so 4. /etc/pam.d/common-account account [success=2 new_authtok_reqd=done default=ignore]pam_unix.so account [success=1 default=ignore] pam_ldap.so account requisite pam_deny.so account requiredpam_permit.so 5. /etc/pam.d/common-password passwordrequisite pam_cracklib.so retry=3 minlen=8 difok=3 password[success=2 default=ignore] pam_unix.so obscure use_authtok try_first_pass sha512 password[success=1 user_unknown=ignore default=die] pam_ldap.so use_authtok try_first_pass passwordrequisite pam_deny.so passwordrequiredpam_permit.so passwordoptionalpam_smbpass.so nullok use_authtok use_first_pass 6. /etc.pam.d/common-session session [default=1] pam_permit.so session requisite pam_deny.so session requiredpam_permit.so session requiredpam_unix.so session optionalpam_ldap.so session optionalpam_ck_connector.so nox11 session requiredpam_mkhomedir.so umask=0022 skel=/etc/skel I have another system running Ubuntu Server 10.04 (64-bit) where samba version 3.4.7 is installed (using apt-get). The /etc/nsswitch.conf and all the /etc/pam.d/common-{auth, ccount,password,session} match the respective files from Ubuntu Server 9.04 system (described earlier). Other relevant packages installed on both the systems are winbind, libpam-smbpass and smbldap-tools. My question is, why does ldap authentication works with samba version 3.3.2 and not with samba version 3.4.7 even though the directives in the configuration files are the same? Am i missing a step here. Can anyone point me in the right direction on this issue. I would appreciate all your time and help. Thanks in advance. - Amit -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.4.7 with LDAP authentication
Hello Miguel, Thanks for your response. I used ldapsearch to querry the LDAP server from the system running samba and got the following output, Querry used: ldapsearch -LLL -x -D "cn=root,dc=xetus,dc=com" -W -H "ldap://172.16.1.58"; -b "ou=people,dc=xetus,dc=com" "(uid=amore)" Output: dn: cn=Amit More,ou=people,dc=xetus,dc=com givenName:: QW1pdCA= sn: More cn: Amit More uid: amore userPassword:: e01ENX1JRWZ1eVpaMkhscVJFUE8vTndGMkNnPT0= uidNumber: 5004 gidNumber: 5001 homeDirectory: /home/users/amore loginShell: /bin/bash objectClass: inetOrgPerson objectClass: posixAccount objectClass: hostObject objectClass: top host: fileserver i have also confirmed this using phpldapadmin. Now, when i issue "pdbedit -L -u amore" command i get the following output, doing parameter security = user doing parameter encrypt passwords = true doing parameter passdb backend = ldapsam:ldap://ldap1.xetus.com/ doing parameter ldap admin dn = cn=root,dc=xetus,dc=com doing parameter ldap user suffix = ou=people doing parameter ldap group suffix = ou=groups doing parameter ldap machine suffix = ou=people doing parameter ldap suffix = dc=xetus,dc=com doing parameter ldap ssl = no doing parameter obey pam restrictions = yes doing parameter unix password sync = yes doing parameter passwd program = /usr/bin/passwd %u doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . doing parameter pam password change = yes doing parameter map to guest = bad user doing parameter usershare allow guests = yes pm_process() returned Yes smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=FILESERVER))] smbldap_open_connection: connection opened ldap_connect_system: successful connection to the LDAP server The LDAP server is successfully connected ldapsam_getsampwnam: Unable to locate user [amore] count=0 Username not found! I am not able to figure out where i am going wrong. Thanks, Amit On Oct 7, 2011, at 6:33 AM, Miguel Medalha wrote: > >> User Search failed! > > There's something seriously wrong with your LDAP configuration. Are you sure > that the OUs exist and are in the proper place? > > Can you use some LDAP client (LAM,phpldapadmin, LDAPAdmin, Apache Directory > Studio, etc) ro inspect the LDAP database? > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.4.7 with LDAP authentication
the output of `pdbedit -L` is doing parameter security = user doing parameter encrypt passwords = true doing parameter passdb backend = ldapsam:ldap://ldap1.xetus.com/ doing parameter ldap admin dn = cn=root,dc=xetus,dc=com doing parameter ldap user suffix = ou=people doing parameter ldap group suffix = ou=groups doing parameter ldap machine suffix = ou=people doing parameter ldap suffix = dc=xetus,dc=com doing parameter ldap ssl = no doing parameter obey pam restrictions = yes doing parameter unix password sync = yes doing parameter passwd program = /usr/bin/passwd %u doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . doing parameter pam password change = yes doing parameter map to guest = bad user doing parameter usershare allow guests = yes pm_process() returned Yes smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=FILESERVER))] smbldap_open_connection: connection opened ldap_connect_system: successful connection to the LDAP server The LDAP server is successfully connected smbldap_search_paged: base => [dc=xetus,dc=com], filter => [(&(uid=*)(objectclass=sambaSamAccount))],scope => [2], pagesize => [1024] smbldap_search_paged: search was successful User Search failed! On Oct 6, 2011, at 2:38 PM, Miguel Medalha wrote: > >> [2011/10/06 13:48:38, 4] passdb/pdb_ldap.c:1600(ldapsam_getsampwnam) >> ldapsam_getsampwnam: Unable to locate user [amore] count=0 >> [2011/10/06 13:48:38, 3] auth/auth_sam.c:282(check_sam_security) >> check_sam_security: Couldn't find user 'amore' in passdb. >> [2011/10/06 13:48:38, 2] auth/auth.c:320(check_ntlm_password) >> check_ntlm_password: Authentication for user [amore] -> [amore] FAILED >> with error NT_STATUS_NO_SUCH_USER >> [2011/10/06 13:48:38, 3] smbd/sesssetup.c:42(do_map_to_guest) >> No such user amore [FILESERVER] - using guest account >> [2011/10/06 13:48:38, 4] passdb/pdb_ldap.c:2550(ldapsam_getgroup) >> ldapsam_getgroup: Did not find group, filter was >> (&(objectClass=sambaGroupMapping)(gidNumber=65534)) > > Are you sure that the LDAP database is correct? Are the user and group names > in the correct places? > > What is the output of "pdbedit -L" ? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.4.7 with LDAP authentication
Thank you for your response. I appreciate it. I changed the following directives, passdb backend = ldapsam:ldap://ldap1.example.com/ ldap user suffix = ou=people ldap group suffix = ou=groups Added the following, ldap admin dn = cn=root,dc=example,dc=com ldap machine suffix = ou=people LDAP users are still not able to authenticate to the samba share. The error is the same. Heres an extract from the log file (/var/log/samba/user.log) [2011/10/06 13:48:38, 3] auth/auth.c:222(check_ntlm_password) check_ntlm_password: Checking password for unmapped user [FILESERVER]\[amore]@[MACBOOKPRO-1B99] with the new password interface [2011/10/06 13:48:38, 3] auth/auth.c:225(check_ntlm_password) check_ntlm_password: mapped user is: [FILESERVER]\[amore]@[MACBOOKPRO-1B99] [2011/10/06 13:48:38, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2011/10/06 13:48:38, 3] smbd/uid.c:428(push_conn_ctx) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2011/10/06 13:48:38, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2011/10/06 13:48:38, 2] lib/smbldap.c:890(smbldap_open_connection) smbldap_open_connection: connection opened [2011/10/06 13:48:38, 3] lib/smbldap.c:1101(smbldap_connect_system) ldap_connect_system: successful connection to the LDAP server [2011/10/06 13:48:38, 4] lib/smbldap.c:1177(smbldap_open) The LDAP server is successfully connected [2011/10/06 13:48:38, 4] passdb/pdb_ldap.c:1600(ldapsam_getsampwnam) ldapsam_getsampwnam: Unable to locate user [amore] count=0 [2011/10/06 13:48:38, 3] smbd/sec_ctx.c:418(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2011/10/06 13:48:38, 3] auth/auth_sam.c:282(check_sam_security) check_sam_security: Couldn't find user 'amore' in passdb. [2011/10/06 13:48:38, 2] auth/auth.c:320(check_ntlm_password) check_ntlm_password: Authentication for user [amore] -> [amore] FAILED with error NT_STATUS_NO_SUCH_USER [2011/10/06 13:48:38, 3] smbd/sesssetup.c:42(do_map_to_guest) No such user amore [FILESERVER] - using guest account [2011/10/06 13:48:38, 4] passdb/pdb_ldap.c:2550(ldapsam_getgroup) ldapsam_getgroup: Did not find group, filter was (&(objectClass=sambaGroupMapping)(gidNumber=65534)) [2011/10/06 13:48:38, 3] smbd/sec_ctx.c:210(push_sec_ctx) Thanks, Amit On Oct 6, 2011, at 1:27 PM, Miguel Medalha wrote: > >> ldap user suffix = ou=people,dc=example,dc=com >> ldap group suffix = ou=groups,dc=example,dc=com >> ldap suffix = dc=example,dc=com > > Since your suffix is already in "ldap suffix", the other entries should be: > > ldap user suffix = ou=people > ldap group suffix = ou=groups > > Don't you need the entry "ldap machine suffix"? > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba 3.4.7 with LDAP authentication
e are some details of the packages installed, slapd: version 2.4.21-0ubuntu5.4 libnss-ldapd: version 0.7.13 Samba and OpenLDAP are running on two different systems. LDAP users can ssh into the machine running samba without any issues. Can anybody point me in the right direction? I would appreciate all your time and help. Thanks, Amit -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Issue with "change password" on windows dialog
Have you installed 'libpam-smbpass" ? Here is the link for your reference https://help.ubuntu.com/10.04/serverguide/C/samba-fileprint-security.html Thanks, Amit More On Thu, 2011-03-24 at 03:36 +0900, TAKAHASHI Motonobu wrote: > Your error is probably caused by the PAM setting. Set "debug" > option to PAM modules and look at syslog files. > > Anyway, if you enable "pam password change = yes", both "passwd > program" and "passwd chat" parameters will be ignored. > > --- > TAKAHASHI Motonobu > > From: Markus Scharitzer > Date: Wed, 23 Mar 2011 13:53:16 +0100 > > Hi everybody! > > I am having an issue regarding my samba/pam configuration. I am trying to > sync my unix/samba passwords, but everything i found online doesn't help. > > My System runs Gentoo/Samba 3.5.8 as PDC(roaming profiles host and so on) , > and WinXP Clients. Domainjoin and Login work fine. But I want to change the > Passwords from the Windows interface. When I try to change the password > using the Windows "change password" dialog. I get an error saying that i > don't have permissions to do so. It works fine from the Unixshell. > > Samba log looks like: > > [2011/03/23 12:06:05.149471, 2] auth/auth.c:304(check_ntlm_password) > check_ntlm_password: authentication for user [xx] -> [xx] -> [xx] succeeded > [2011/03/23 12:06:05.152839, 0] auth/pampass.c:699(smb_pam_chauthtok) > PAM: User not known to PAM > [2011/03/23 12:06:05.152863, 2] auth/pampass.c:77(smb_pam_error_handler) > smb_pam_error_handler: PAM: Password Change Failed : User not known to the > underlying authentication module > [2011/03/23 12:06:05.152873, 0] auth/pampass.c:861(smb_pam_passchange) > smb_pam_passchange: PAM: Password Change Failed for user xx! > [2011/03/23 12:06:05.156622, 0] auth/pampass.c:699(smb_pam_chauthtok) > PAM: User not known to PAM > [2011/03/23 12:06:05.156637, 2] auth/pampass.c:77(smb_pam_error_handler) > smb_pam_error_handler: PAM: Password Change Failed : User not known to the > underlying authentication module > [2011/03/23 12:06:05.156650, 0] auth/pampass.c:861(smb_pam_passchange) > smb_pam_passchange: PAM: Password Change Failed for user xx! > [2011/03/23 12:06:05.162118, 0] auth/pampass.c:699(smb_pam_chauthtok) > PAM: User not known to PAM > [2011/03/23 12:06:05.162133, 2] auth/pampass.c:77(smb_pam_error_handler) > smb_pam_error_handler: PAM: Password Change Failed : User not known to the > underlying authentication module > [2011/03/23 12:06:05.162143, 0] auth/pampass.c:861(smb_pam_passchange) > smb_pam_passchange: PAM: Password Change Failed for xx! > [2011/03/23 12:06:05.165908, 0] auth/pampass.c:699(smb_pam_chauthtok) > PAM: User not known to PAM > [2011/03/23 12:06:05.165923, 2] auth/pampass.c:77(smb_pam_error_handler) > smb_pam_error_handler: PAM: Password Change Failed : User not known to the > underlying authentication module > [2011/03/23 12:06:05.165932, 0] auth/pampass.c:861(smb_pam_passchange) > smb_pam_passchange: PAM: Password Change Failed for user xx! > > my smb.conf looks like: > > unix password sync = yes > pam password change = yes > passwd program = /usr/bin/passwd %u > passwd chat = *New*password* %n\n *Re*ype*new*password* %n\n \ > *passwd:*all*authentication*tokens*updated*successfully* > > my pam-files look like: > > samba: > > @include system-auth > @include system-password > > auth required pam_smbpass.so nodelay > account include system-auth > session include system-auth > password required pam_smbpass.so nodelay smbconf=/etc/samba/smb.conf > > system-auth > > > auth required pam_env.so > auth required pam_unix.so try_first_pass likeauth nullok > auth optional pam_permit.so > auth optional pam_smbpass.so migrate > > account required pam_unix.so > account optional pam_permit.so > > password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 > retry=3 > password required pam_unix.so try_first_pass use_authtok nullok sha512 > shadow > password optional pam_permit.so > password required pam_smbpass.so nullok use_authok try_first_pass > > session required pam_limits.so > session required pam_env.so > session required pam_unix.so > session optional pam_permit.so > > system-password: > > password requisite pam_unix.so nullok obscure min=4 max=8 md5 > password required pam_smbpass.so nullok try_first_pass > > Thanks kindly! > > Best regards, -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Mac OS X user having problems connecting to samba running on Ubuntu Server
Hi all, Doing a bit of research on samba and hostname lead me to find the actual cause of the problem. If you don't specify the "netbios name = " directive in the samba configuration(smb.conf) file, samba uses hostname as the netbios name (ref: http://www.justlinux.com/forum/archive/index.php/t-126124.html read cowanrl's comment) and the maximum length of a netbios name is 16 characters. However, Microsoft limits the netbios name to 15 characters (ref: http://support.microsoft.com/kb/163409). In my case i had not specified the "netbios name = " directive in smb.conf file and the hostname was more than 16 characters. Adding "netbios name = " to something less than 15 characters did the trick. My hostname is more than 16 characters. Hope this helps some of you out there. Thanks, Amit More On Mon, 2011-03-21 at 18:16 -0700, Amit More wrote: > Hello all, > > After spending some time looking into the problem, I have found out that > changing the hostname of the machine on which samba was running to be 16(or > less) characters long did the trick. With "internalfileserver"(which is 18 > characters long) as hostname Mac users were not able to connect to the share > via "connect to server"(apple + k) application but could connect via the > command line. Changing the hostname to "fileserver"(which is 10 characters > long) allowed Mac users to connect to the share via "connect to server" > application as well as via the command line. > > I am not able to figure this out. I will share it with samba users once i > find something useful. > > Thanks, > Amit More > > > On Thu, 2011-03-17 at 18:51 -0700, Amit More wrote: > > Hello all, > > > > > > I have installed samba version 3.3.2 on Ubuntu 9.04 server 32-bit > > following the documentation > > https://help.ubuntu.com/9.10/serverguide/C/samba-fileserver.html > > > > > > Windows and Ubuntu users can see and mount the shares with no problem at > > all. > > > > Mac OS 10.6.x users can connect to samba from terminal using smbclient, > > but they are refused connection when they try to connect via finder (ie > > using apple + k). The error Mac users get is “wrong username or > > password”. However, they can connect via finder only when they prefix > > the username with any domain name. They can pass any arbitrary domain > > name before the username to connect to the samba share. > > > > > > To be more clear here is an example > > > > smb://server.domain.com/File_share > > username: arbitrary-domain-name\username > > > > > > Also, Mac OS X users having problem connecting to samba running on > > Ubuntu server are able to mount the shares from Windows Server 2003 via > > finder. > > > > > > I have set the following parameters in my /etc/samba/smb.conf file > > > > workgroup = WORKGROUP > > > > server string = %h server (Samba, Ubuntu) > > > > dns proxy = no > > > > security = user > > > > encrypt passwords = true > > > > passdb backend = tdbsam > > > > obey pam restrictions = yes > > > > passwd program = /usr/bin/passwd %u > > > > passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s* > > \spassword:* %n\n *password\supdated\ssuccessfully* . > > > > map to guest = bad user > > > > usershare allow guests = yes > > > > [share] > > > > comment = Ubuntu File Server Share > > > > path = /srv/samba/share > > > > browsable = yes > > > > guest ok = no > > > > read only = no > > > > create mask = 0755 > > > > > > > > Things that I have tried: > > > > 1. Adding public = yes in share > > > > 2. Setting encryption = false > > > > > > I am new to samba and have been doing research for a long time to get > > this working. Is there any workaround for the problem that I am facing. > > I would appreciate all your help. > > > > > > Thanks in advance, > > > > Amit More > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Mac OS X user having problems connecting to samba running on Ubuntu Server
Hello all, After spending some time looking into the problem, I have found out that changing the hostname of the machine on which samba was running to be 16(or less) characters long did the trick. With "internalfileserver"(which is 18 characters long) as hostname Mac users were not able to connect to the share via "connect to server"(apple + k) application but could connect via the command line. Changing the hostname to "fileserver"(which is 10 characters long) allowed Mac users to connect to the share via "connect to server" application as well as via the command line. I am not able to figure this out. I will share it with samba users once i find something useful. Thanks, Amit More On Thu, 2011-03-17 at 18:51 -0700, Amit More wrote: > Hello all, > > > I have installed samba version 3.3.2 on Ubuntu 9.04 server 32-bit > following the documentation > https://help.ubuntu.com/9.10/serverguide/C/samba-fileserver.html > > > Windows and Ubuntu users can see and mount the shares with no problem at > all. > > Mac OS 10.6.x users can connect to samba from terminal using smbclient, > but they are refused connection when they try to connect via finder (ie > using apple + k). The error Mac users get is “wrong username or > password”. However, they can connect via finder only when they prefix > the username with any domain name. They can pass any arbitrary domain > name before the username to connect to the samba share. > > > To be more clear here is an example > > smb://server.domain.com/File_share > username: arbitrary-domain-name\username > > > Also, Mac OS X users having problem connecting to samba running on > Ubuntu server are able to mount the shares from Windows Server 2003 via > finder. > > > I have set the following parameters in my /etc/samba/smb.conf file > > workgroup = WORKGROUP > > server string = %h server (Samba, Ubuntu) > > dns proxy = no > > security = user > > encrypt passwords = true > > passdb backend = tdbsam > > obey pam restrictions = yes > > passwd program = /usr/bin/passwd %u > > passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s* > \spassword:* %n\n *password\supdated\ssuccessfully* . > > map to guest = bad user > > usershare allow guests = yes > > [share] > > comment = Ubuntu File Server Share > > path = /srv/samba/share > > browsable = yes > > guest ok = no > > read only = no > > create mask = 0755 > > > > Things that I have tried: > > 1. Adding public = yes in share > > 2. Setting encryption = false > > > I am new to samba and have been doing research for a long time to get > this working. Is there any workaround for the problem that I am facing. > I would appreciate all your help. > > > Thanks in advance, > > Amit More > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Mac OS X user having problems connecting to samba running on Ubuntu Server
Hello all, I have installed samba version 3.3.2 on Ubuntu 9.04 server 32-bit following the documentation https://help.ubuntu.com/9.10/serverguide/C/samba-fileserver.html Windows and Ubuntu users can see and mount the shares with no problem at all. Mac OS 10.6.x users can connect to samba from terminal using smbclient, but they are refused connection when they try to connect via finder (ie using apple + k). The error Mac users get is “wrong username or password”. However, they can connect via finder only when they prefix the username with any domain name. They can pass any arbitrary domain name before the username to connect to the samba share. To be more clear here is an example smb://server.domain.com/File_share username: arbitrary-domain-name\username Also, Mac OS X users having problem connecting to samba running on Ubuntu server are able to mount the shares from Windows Server 2003 via finder. I have set the following parameters in my /etc/samba/smb.conf file workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) dns proxy = no security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s* \spassword:* %n\n *password\supdated\ssuccessfully* . map to guest = bad user usershare allow guests = yes [share] comment = Ubuntu File Server Share path = /srv/samba/share browsable = yes guest ok = no read only = no create mask = 0755 Things that I have tried: 1. Adding public = yes in share 2. Setting encryption = false I am new to samba and have been doing research for a long time to get this working. Is there any workaround for the problem that I am facing. I would appreciate all your help. Thanks in advance, Amit More -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: Fw: [Samba] HP Laserjet Printer Installation
Ok Charles, Thr is mistake from my side.. But can u have any soln for the same, because i desperately want this.. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Charles Marcus To amit.anjarle...@tcs.com 05/08/2009 08:52 cc PMsamba@lists.samba.org Subject Re: Fw: [Samba] HP Laserjet Printer Installation On 5/8/2009, amit.anjarle...@tcs.com (amit.anjarle...@tcs.com) wrote: > I think u have taken wrong meaning of word 'new-to-linux'. I have cleared > RHCE & having good knowledge of all the applications used in linux > including samba. Well... again, not to be rude, but when you say you are "new to linux" (your words, not mine), how else is one to take it other than you are new to linux? I understand English is not your native language, but ... ?? -- Best regards, Charles ForwardSourceID:NT00023F7E =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: Fw: [Samba] HP Laserjet Printer Installation
Hi Charles, I think u have taken wrong meaning of word 'new-to-linux'. I have cleared RHCE & having good knowledge of all the applications used in linux including samba. I tried a lot & got different suggestions, but unable to conclude. So finally written as confused!! Please guide me as per my problem if anybody have any idea. Thanks & Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Charles Marcus To amit.anjarle...@tcs.com 05/08/2009 05:59 cc PMsamba@lists.samba.org Subject Re: Fw: [Samba] HP Laserjet Printer Installation On 5/8/2009, amit.anjarle...@tcs.com (amit.anjarle...@tcs.com) wrote: > Pls guide as i m new to linux. Sorry, I feel your pain, but this is not a 'new-to-linux' group, this is for discussing problems with samba. You need to learn how to for help in the appropriate place - in this case, a place for basic linux help/questions... A good place to start is the user forums/lists for your linux distribution. -- Best regards, Charles ForwardSourceID:NT00023F4A =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: Fw: [Samba] HP Laserjet Printer Installation
Hi team, Pls guide as i m in desperate need of the same. I m getting different soln's each time. Confused!!! Pls guide as i m new to linux. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Amit Anjarlekar/MUM/TC S To volker.lende...@sernet.de 05/08/2009 03:14 cc PMsamba@lists.samba.org Subject Re: Fw: [Samba] HP Laserjet Printer Installation(Document link: Amit Anjarlekar) How do i do that. Pls guide. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Volker Lendecke To amit.anjarle...@tcs.com 05/08/2009 03:10 cc PMsamba@lists.samba.org Subject Re: Fw: [Samba] HP Laserjet Printer Please respond to Installation volker.lende...@s erNet.DE On Fri, May 08, 2009 at 02:38:06PM +0530, amit.anjarle...@tcs.com wrote: > Can any body help m on this to resolve my issue permanently. I m almost > done, but one bug is creating problem & unable to resolve it as per mail > reply from one of our colgn niranjan.ashok. > Following command is not working on my system ie $ svn co > http://svn.easysw.com/public/cups/branches/branch-1.3/. Its showing error > as " could not resolve hostname, host not found". > Following is the actual scenarion :- > I have a very good query related to printer sharing using samba. This is not a Samba problem, you should fix your network setup. Volker [attachment "attbhi2l.dat" deleted by Amit Anjarlekar/MUM/TCS] ForwardSourceID:NT00023F1A ForwardSourceID:NT00023F1E =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: Fw: [Samba] HP Laserjet Printer Installation
How do i do that. Pls guide. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Volker Lendecke To amit.anjarle...@tcs.com 05/08/2009 03:10 cc PMsamba@lists.samba.org Subject Re: Fw: [Samba] HP Laserjet Printer Please respond to Installation volker.lende...@s erNet.DE On Fri, May 08, 2009 at 02:38:06PM +0530, amit.anjarle...@tcs.com wrote: > Can any body help m on this to resolve my issue permanently. I m almost > done, but one bug is creating problem & unable to resolve it as per mail > reply from one of our colgn niranjan.ashok. > Following command is not working on my system ie $ svn co > http://svn.easysw.com/public/cups/branches/branch-1.3/. Its showing error > as " could not resolve hostname, host not found". > Following is the actual scenarion :- > I have a very good query related to printer sharing using samba. This is not a Samba problem, you should fix your network setup. Volker [attachment "attbhi2l.dat" deleted by Amit Anjarlekar/MUM/TCS] ForwardSourceID:NT00023F1A =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Fw: [Samba] HP Laserjet Printer Installation
Dear all, Can any body help m on this to resolve my issue permanently. I m almost done, but one bug is creating problem & unable to resolve it as per mail reply from one of our colgn niranjan.ashok. Following command is not working on my system ie $ svn co http://svn.easysw.com/public/cups/branches/branch-1.3/. Its showing error as " could not resolve hostname, host not found". Following is the actual scenarion :- I have a very good query related to printer sharing using samba. >> Following >>>> is the scenario... >>>> I had installed HP laserjet 9040Dn printer on redhat Enterprise linux > 5. >>>> Shared it using samba. Used winbind protocol to integrate linux with >>>> windows AD 2003. Now i am able to see printer in Active directory as >> well >>>> as linux computer account in AD. But unable to set option >>>> lpadmin -p printer -o job-quota-period=604800 -o job-page-limit=100 >>>> Going after lot of forums, i found that printer should support >>>> "job-page-limit" option. Whatever drivers installed for printer are >>>> current drivers & ie also from HP site only. HP doesant support linux >> OS. >>>> So no support from there. Following is the o/p of lpoptions -l command >> for >>>> the above printer. >>> >>> As per problem description , it seems it is a cups issue than samba >> issue . >>> >>> >>> When you set the limits using lpadmin command, does the limit show in >>> /etc/cups/printers.conf ? >>> >>> ie. when you run " lpadmin -p printer -o job-quota-period=604800 -o >>> job-page-limit=100" does these limits show in /etc/cups/printers.conf >>> in the "printer" definition section ? Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing - Forwarded by Amit Anjarlekar/MUM/TCS on 05/08/2009 01:40 PM - mallapadi niranjan amit.anjarle...@tcs.com cc 05/07/2009 04:49 PMSubject Re: [Samba] HP Laserjet Printer Installation Hi amit I am sorry , due to my other commitments, i cannot at present give you a step by step guide in my previous post, i told to run svn command $ svn co http://svn.easysw.com/public/cups/branches/branch-1.3/ svn is the command and co is to checkout the branch, So on the system in question, you need to run the above command. if in case you still have issues, take this issue to cups mailing list, bye niranjan On Tue, May 5, 2009 at 4:44 PM, wrote: > Hi mallapadi, > Thanks for replying my mail till date. I just want to conclude now as how > do i fix this bug? If i go to following URL, lot of files & folders are > present. Do u have a simple procedure for doing this activity. Actually i m > also new to linux & thats why unable to conclude as how do i go for the > same? > http://svn.easysw.com/public/cups/branches/branch-1.3/ > > Pls guide step by step procedure if possible to resolve the issue. > > Thanks & regards > Amit Sudhir Anjarlekar > Asst. Systems Engr. > Tata Consultancy Services > Mailto: amit.anjarle...@tcs.com > Website: http://www.tcs.com > > Experience certainty. IT Services > Business Solutions > Outsourcing > > > > > mallapadi > niranjan > mail.com> amit.anjarle...@tcs.com >
Re: [Samba] HP Laserjet Printer Installation
Hi , After upgrading to latest version, still lpadmin with quota command not working. Any idea or any file needs to edit? Kindly suggest. Following is scrnshot for ur ref.. I tried by installing fedora 10 as it has the latest cups version. Name: cups Relocations: (not relocatable) Version : 1.3.9 Vendor: Fedora Project Release : 2.fc10Build Date: Tue 21 Oct 2008 03:58:44 PM IST Install Date: Wed 22 Apr 2009 10:10:50 AM IST Build Host: x86-4.fedora.phx.redhat.com Group : System Environment/DaemonsSource RPM: cups-1.3.9-2.fc10.src.rpm Size: 10653448 License: GPLv2 Signature : DSA/SHA1, Tue 28 Oct 2008 10:24:22 PM IST, Key ID bf226fcc4ebfc273 Packager: Fedora Project URL : http://www.cups.org/ Summary : Common Unix Printing System Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Amit Anjarlekar/MUM/TC S To mallapadi niranjan 04/14/2009 03:42 , PMsamba@lists.samba.org cc Subject Re: [Samba] HP Laserjet Printer Installation(Document link: Amit Anjarlekar) Hi, Also i m not able to find PID file for cups as well PID no. for cups using command ps -ef | grep cups Following is the o/p for rpm -qi cups command Name: cups Relocations: (not relocatable) Version : 1.2.4 Vendor: Red Hat, Inc. Release : 11.5.el5 Build Date: Tue 12 Dec 2006 05:02:44 PM IST Install Date: Sat 07 Mar 2009 11:59:04 AM IST Build Host: ls20-bc1-13.build.redhat.com Group : System Environment/DaemonsSource RPM: cups-1.2.4-11.5.el5.src.rpm Size: 8201990 License: GPL Signature : DSA/SHA1, Wed 17 Jan 2007 10:28:48 PM IST, Key ID 5326810137017186 Packager: Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://www.cups.org/ Summary : Common Unix Printing System Description : The Common UNIX Printing System provides a portable printing layer for UNIX® operating systems. It has been developed by Easy Software Products to promote a standard printing solution for all UNIX vendors and users. CUPS provides the System V and Berkeley command-line interfaces. Not updating to latest one too.. But below file shows updated status vi /etc/cups/printers.conf # Printer configuration file for CUPS v1.4b2 # Written by cupsd on 2009-04-14 14:36 Please let m know anything can b added in this case.. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Amit Anjarlekar/MUM/TC S To mallapadi niranjan 04/14/2009 01:15 PM
Re: [Samba] HP Laserjet Printer Installation
Hi, Also i m not able to find PID file for cups as well PID no. for cups using command ps -ef | grep cups Following is the o/p for rpm -qi cups command Name: cups Relocations: (not relocatable) Version : 1.2.4 Vendor: Red Hat, Inc. Release : 11.5.el5 Build Date: Tue 12 Dec 2006 05:02:44 PM IST Install Date: Sat 07 Mar 2009 11:59:04 AM IST Build Host: ls20-bc1-13.build.redhat.com Group : System Environment/DaemonsSource RPM: cups-1.2.4-11.5.el5.src.rpm Size: 8201990 License: GPL Signature : DSA/SHA1, Wed 17 Jan 2007 10:28:48 PM IST, Key ID 5326810137017186 Packager: Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://www.cups.org/ Summary : Common Unix Printing System Description : The Common UNIX Printing System provides a portable printing layer for UNIX® operating systems. It has been developed by Easy Software Products to promote a standard printing solution for all UNIX vendors and users. CUPS provides the System V and Berkeley command-line interfaces. Not updating to latest one too.. But below file shows updated status vi /etc/cups/printers.conf # Printer configuration file for CUPS v1.4b2 # Written by cupsd on 2009-04-14 14:36 Please let m know anything can b added in this case.. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing ____ Amit Anjarlekar/MUM/TCS 04/14/2009 01:15 PM To mallapadi niranjan cc Subject Re: [Samba] HP Laserjet Printer Installation Hi niranjan, Thanks for the support .. Can u just guide as where do i chk init script that you are using point to the newly compiled cupsd? Log file i m not getting anything related to this. Pls advise. Thanks in advance.. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing mallapadi niranjan 04/13/2009 10:37 PM To amit.anjarle...@tcs.com cc Subject Re: [Samba] HP Laserjet Printer Installation Hi amit Also one thing i forgot to mention ie after installation of latest cups service cups restart is showing following error: cups: restarted scheduler. [ OK ] Cups service not starting. Can u guide as what may b the reason. I followed the procedure from INSTALL.txt file. Does the init script that you are using point to the newly compiled cupsd Also, it can be possible that cupsd process is already running and you are trying to start the cupsd process again. check what messages are reported in /var/log/cups/error.log or appropriate error log file. Regards Niranjan On Mon, Apr 13, 2009 at 3:07 PM, wrote: > > Hi, > Its not reflecting in /etc/cups/printers.conf file . Even if i am manually > adding the entry, is also not working. Pls suggest. > > Regards > Amit Sudhir Anjarlekar > Asst. Systems Engr. > Tata Consultancy Services > Mailto: amit.anjarle...@tcs.com > Website: http://www.tcs.com > > Experience certainty.IT Services >Business Solutions >Outsourcing > > > > mallapadi niranjan > > 04/13/2009 02:04 PM > > To > amit.anjarle...@tcs.com > cc > Subject > Re: [Samba] HP Laserjet Printer Installation > > > > > Hi Amit > > On Mon, Apr 13, 2009 at 1:18 PM, wrote: >> Hi all, >> I have a very good query related to printer sharing using samba. Following >> is the scenario... >> I had installed HP laserjet 9040Dn printer on redhat Enterprise linux 5. >> Shared it using samba. Used winbind protocol to integrate linux with >> windows AD 2003. Now i am able to see printer in Active directory as well >> as linux computer account in AD. But unable to set option >> lpadmin -p printer -o job-quota-period=604800 -o job-page-limit=100 >> Going after lot of forums, i found that printer should support >> "job-page-limit" option. Whatever drivers installed for printer are >> current drivers & ie also from HP site only. HP doesant support linux OS. >> So no support from there. Following is the o/p of lpoptions -l command for >> the above printer. > > As per problem description , it seems it is a cups issue
Re: [Samba] HP Laserjet Printer Installation
Hi all, Also one thing i forgot to mention ie after installation of latest cups service cups restart is showing following error: cups: restarted scheduler. [ OK ] Cups service not starting. Can u guide as what may b the reason. I followed the procedure from INSTALL.txt file. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Amit Anjarlekar/MUM/TCS 04/13/2009 07:54 PM To mallapadi niranjan , samba@lists.samba.org cc Subject Re: [Samba] HP Laserjet Printer Installation Hi, Updated to CUPS v1.4b2 version, but still /etc/cups/printers.conf file is not updating as well quota setting not working.. Any luck, pls suggest... Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing mallapadi niranjan 04/13/2009 03:24 PM To amit.anjarle...@tcs.com cc Subject Re: [Samba] HP Laserjet Printer Installation On Mon, Apr 13, 2009 at 3:07 PM, wrote: > > Hi, > Its not reflecting in /etc/cups/printers.conf file . Even if i am manually > adding the entry, is also not working. Pls suggest. Then it could be a bug with cups, try latest cups form cups.org > > Regards > Amit Sudhir Anjarlekar > Asst. Systems Engr. > Tata Consultancy Services > Mailto: amit.anjarle...@tcs.com > Website: http://www.tcs.com > > Experience certainty.IT Services >Business Solutions >Outsourcing > > > > mallapadi niranjan > > 04/13/2009 02:04 PM > > To > amit.anjarle...@tcs.com > cc > Subject > Re: [Samba] HP Laserjet Printer Installation > > > > > Hi Amit > > On Mon, Apr 13, 2009 at 1:18 PM, wrote: >> Hi all, >> I have a very good query related to printer sharing using samba. Following >> is the scenario... >> I had installed HP laserjet 9040Dn printer on redhat Enterprise linux 5. >> Shared it using samba. Used winbind protocol to integrate linux with >> windows AD 2003. Now i am able to see printer in Active directory as well >> as linux computer account in AD. But unable to set option >> lpadmin -p printer -o job-quota-period=604800 -o job-page-limit=100 >> Going after lot of forums, i found that printer should support >> "job-page-limit" option. Whatever drivers installed for printer are >> current drivers & ie also from HP site only. HP doesant support linux OS. >> So no support from there. Following is the o/p of lpoptions -l command for >> the above printer. > > As per problem description , it seems it is a cups issue than samba issue . > > > When you set the limits using lpadmin command, does the limit show in > /etc/cups/printers.conf ? > > ie. when you run " lpadmin -p printer -o job-quota-period=604800 -o > job-page-limit=100" does these limits show in /etc/cups/printers.conf > in the "printer" definition section ? > > > Info test > DeviceURI socket://10.65.63.223 > State Idle > StateTime 1239611318 > Accepting Yes > Shared Yes > JobSheets none none > QuotaPeriod 604800 > PageLimit 100 > KLimit 0 > OpPolicy default > ErrorPolicy stop-printer > > > If not then it's a cups issue . > > > What is the version of cups you are using ? > > rpm -q cups > > > > > > >> >> HPOption_Tray1/Tray 1: True *False >> HPOption_2000_Sheet_Tray/2000-Sheet Input Tray (Tray 4): True *False >> HPOption_Duplexer/Duplex Unit: True *False >> HPOption_Disk/Printer Disk: *None RAMDisk HardDisk >> HPOption_MBM_Mixed/Accessory Output Bins: *Standard MBMStaplerStacker >> MBMStacker HPFinisher HPMultiBinMailbox >> HPMailboxMode/Mailbox Mode: *PrintersDefault Standard MBMode StackerMode >> SeparatorMode SorterCollatorMode >> InstalledMemory/Total Printer Memory: *64-127MB 128-255MB 256-383MB >> 384-512MB >> HPOption_PaperPolicy/Fit to Page: *PromptUser NearestSizeAdjust >> NearestSizeNoAdjust >> HPJobRetentionOption/Job Retention: HPJobRetentionQuickCopy >> HPJobRetentionProof HPJobRetentionStore *HPJobRetentionOff >> HPUserName/User Name: *FileSharingName For
Re: [Samba] HP Laserjet Printer Installation
Hi, Updated to CUPS v1.4b2 version, but still /etc/cups/printers.conf file is not updating as well quota setting not working.. Any luck, pls suggest... Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing mallapadi niranjan 04/13/2009 03:24 PM To amit.anjarle...@tcs.com cc Subject Re: [Samba] HP Laserjet Printer Installation On Mon, Apr 13, 2009 at 3:07 PM, wrote: > > Hi, > Its not reflecting in /etc/cups/printers.conf file . Even if i am manually > adding the entry, is also not working. Pls suggest. Then it could be a bug with cups, try latest cups form cups.org > > Regards > Amit Sudhir Anjarlekar > Asst. Systems Engr. > Tata Consultancy Services > Mailto: amit.anjarle...@tcs.com > Website: http://www.tcs.com > > Experience certainty.IT Services >Business Solutions >Outsourcing > > > > mallapadi niranjan > > 04/13/2009 02:04 PM > > To > amit.anjarle...@tcs.com > cc > Subject > Re: [Samba] HP Laserjet Printer Installation > > > > > Hi Amit > > On Mon, Apr 13, 2009 at 1:18 PM, wrote: >> Hi all, >> I have a very good query related to printer sharing using samba. Following >> is the scenario... >> I had installed HP laserjet 9040Dn printer on redhat Enterprise linux 5. >> Shared it using samba. Used winbind protocol to integrate linux with >> windows AD 2003. Now i am able to see printer in Active directory as well >> as linux computer account in AD. But unable to set option >> lpadmin -p printer -o job-quota-period=604800 -o job-page-limit=100 >> Going after lot of forums, i found that printer should support >> "job-page-limit" option. Whatever drivers installed for printer are >> current drivers & ie also from HP site only. HP doesant support linux OS. >> So no support from there. Following is the o/p of lpoptions -l command for >> the above printer. > > As per problem description , it seems it is a cups issue than samba issue . > > > When you set the limits using lpadmin command, does the limit show in > /etc/cups/printers.conf ? > > ie. when you run " lpadmin -p printer -o job-quota-period=604800 -o > job-page-limit=100" does these limits show in /etc/cups/printers.conf > in the "printer" definition section ? > > > Info test > DeviceURI socket://10.65.63.223 > State Idle > StateTime 1239611318 > Accepting Yes > Shared Yes > JobSheets none none > QuotaPeriod 604800 > PageLimit 100 > KLimit 0 > OpPolicy default > ErrorPolicy stop-printer > > > If not then it's a cups issue . > > > What is the version of cups you are using ? > > rpm -q cups > > > > > > >> >> HPOption_Tray1/Tray 1: True *False >> HPOption_2000_Sheet_Tray/2000-Sheet Input Tray (Tray 4): True *False >> HPOption_Duplexer/Duplex Unit: True *False >> HPOption_Disk/Printer Disk: *None RAMDisk HardDisk >> HPOption_MBM_Mixed/Accessory Output Bins: *Standard MBMStaplerStacker >> MBMStacker HPFinisher HPMultiBinMailbox >> HPMailboxMode/Mailbox Mode: *PrintersDefault Standard MBMode StackerMode >> SeparatorMode SorterCollatorMode >> InstalledMemory/Total Printer Memory: *64-127MB 128-255MB 256-383MB >> 384-512MB >> HPOption_PaperPolicy/Fit to Page: *PromptUser NearestSizeAdjust >> NearestSizeNoAdjust >> HPJobRetentionOption/Job Retention: HPJobRetentionQuickCopy >> HPJobRetentionProof HPJobRetentionStore *HPJobRetentionOff >> HPUserName/User Name: *FileSharingName Forms Set >> HPJobName/Job Name: *DocName Set >> HPwmSwitch/Watermark/Overlay: *Off Watermark Overlay >> HPwmPages/Watermark Pages: *AllPages FirstPage >> HPwmTextMessage/Watermark Text: *Draft CompanyConfidential >> CompanyProprietary CompanyPrivate Confidential Copy Copyright FileCopy >> Final ForInternalUse Preliminary Proof ReviewCopy Sample TopSecret Urgent >> Set >> HPwmFontName/Watermark Font: CourierB *HelveticaB TimesB >> HPwmFontSize/Watermark Size (points): pt24 pt30 pt36 pt42 *pt48 pt54 pt60 >> pt66 pt72 pt78 pt84 pt90 >> HPwmTextAngle/Watermark Angle: Deg90 Deg75 Deg60 *Deg45 Deg30 Deg15 Deg0 >> DegN15 DegN30 DegN45 DegN60 DegN75 DegN90 >> HPwmTextStyle/Watermark Style: Thin *Medium Thick Halo Fill >> HPw
Re: [Samba] HP Laserjet Printer Installation
Hi, Its not reflecting in /etc/cups/printers.conf file . Even if i am manually adding the entry, is also not working. Pls suggest. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing mallapadi niranjan 04/13/2009 02:04 PM To amit.anjarle...@tcs.com cc Subject Re: [Samba] HP Laserjet Printer Installation Hi Amit On Mon, Apr 13, 2009 at 1:18 PM, wrote: > Hi all, > I have a very good query related to printer sharing using samba. Following > is the scenario... > I had installed HP laserjet 9040Dn printer on redhat Enterprise linux 5. > Shared it using samba. Used winbind protocol to integrate linux with > windows AD 2003. Now i am able to see printer in Active directory as well > as linux computer account in AD. But unable to set option > lpadmin -p printer -o job-quota-period=604800 -o job-page-limit=100 > Going after lot of forums, i found that printer should support > "job-page-limit" option. Whatever drivers installed for printer are > current drivers & ie also from HP site only. HP doesant support linux OS. > So no support from there. Following is the o/p of lpoptions -l command for > the above printer. As per problem description , it seems it is a cups issue than samba issue . When you set the limits using lpadmin command, does the limit show in /etc/cups/printers.conf ? ie. when you run " lpadmin -p printer -o job-quota-period=604800 -o job-page-limit=100" does these limits show in /etc/cups/printers.conf in the "printer" definition section ? Info test DeviceURI socket://10.65.63.223 State Idle StateTime 1239611318 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 604800 PageLimit 100 KLimit 0 OpPolicy default ErrorPolicy stop-printer If not then it's a cups issue . What is the version of cups you are using ? rpm -q cups > > HPOption_Tray1/Tray 1: True *False > HPOption_2000_Sheet_Tray/2000-Sheet Input Tray (Tray 4): True *False > HPOption_Duplexer/Duplex Unit: True *False > HPOption_Disk/Printer Disk: *None RAMDisk HardDisk > HPOption_MBM_Mixed/Accessory Output Bins: *Standard MBMStaplerStacker > MBMStacker HPFinisher HPMultiBinMailbox > HPMailboxMode/Mailbox Mode: *PrintersDefault Standard MBMode StackerMode > SeparatorMode SorterCollatorMode > InstalledMemory/Total Printer Memory: *64-127MB 128-255MB 256-383MB > 384-512MB > HPOption_PaperPolicy/Fit to Page: *PromptUser NearestSizeAdjust > NearestSizeNoAdjust > HPJobRetentionOption/Job Retention: HPJobRetentionQuickCopy > HPJobRetentionProof HPJobRetentionStore *HPJobRetentionOff > HPUserName/User Name: *FileSharingName Forms Set > HPJobName/Job Name: *DocName Set > HPwmSwitch/Watermark/Overlay: *Off Watermark Overlay > HPwmPages/Watermark Pages: *AllPages FirstPage > HPwmTextMessage/Watermark Text: *Draft CompanyConfidential > CompanyProprietary CompanyPrivate Confidential Copy Copyright FileCopy > Final ForInternalUse Preliminary Proof ReviewCopy Sample TopSecret Urgent > Set > HPwmFontName/Watermark Font: CourierB *HelveticaB TimesB > HPwmFontSize/Watermark Size (points): pt24 pt30 pt36 pt42 *pt48 pt54 pt60 > pt66 pt72 pt78 pt84 pt90 > HPwmTextAngle/Watermark Angle: Deg90 Deg75 Deg60 *Deg45 Deg30 Deg15 Deg0 > DegN15 DegN30 DegN45 DegN60 DegN75 DegN90 > HPwmTextStyle/Watermark Style: Thin *Medium Thick Halo Fill > HPwmBrightness/Watermark Intensity: Darkest Darker Dark MediumDark *Medium > MediumLight Light Lighter Lightest > OutputBin/Output Destination: *PrinterDefault Upper Left StackerFaceUp > Stacker UStapler HPBooklet HP8BinMB > HPStaplerOptions/Finishing Options: *PrintersDefault 1diagonal 1parallel > 2parallel 3parallel 6parallel HPBooklet > HPMailboxOptions/Mailbox Options: *PrintersDefault Bin1 Bin2 Bin3 Bin4 > Bin5 Bin6 Bin7 Bin8 Bin1_8 > HPEdgeToEdge/Edge-To-Edge Printing: *False True > HPRotate180/Rotate Page 180 deg: *False True > Collate/Collate: *True False > PageSize/Media Size: *Letter LetterSmall Legal LegalSmall Executive > HalfLetter w612h935 Tabloid 12X18 A3 RA3 A4 A4Small A5 B5 B4 w612h936 > DoublePostcard w774h1116 w558h774 EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch > Custom > PageRegion/PageRegion: Letter LetterSmall Legal LegalSmall Executive > HalfLetter w612h935 Tabloid 12X18 A3 RA3 A4 A4Small A5 B5 B4 w612h936 > DoublePostcard w774h1116 w558h774 EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch > InputSlot/Media Source: Tray1 *Tray2 Tray3 Tray4Optional > ManualFeed/Tray 1 (Manual): True *False > MediaType/Media Type: *Unspecified Plain Preprinted Letterhead > Transpa
[Samba] HP Laserjet Printer Installation
Hi all, I have a very good query related to printer sharing using samba. Following is the scenario... I had installed HP laserjet 9040Dn printer on redhat Enterprise linux 5. Shared it using samba. Used winbind protocol to integrate linux with windows AD 2003. Now i am able to see printer in Active directory as well as linux computer account in AD. But unable to set option lpadmin -p printer -o job-quota-period=604800 -o job-page-limit=100 Going after lot of forums, i found that printer should support "job-page-limit" option. Whatever drivers installed for printer are current drivers & ie also from HP site only. HP doesant support linux OS. So no support from there. Following is the o/p of lpoptions -l command for the above printer. HPOption_Tray1/Tray 1: True *False HPOption_2000_Sheet_Tray/2000-Sheet Input Tray (Tray 4): True *False HPOption_Duplexer/Duplex Unit: True *False HPOption_Disk/Printer Disk: *None RAMDisk HardDisk HPOption_MBM_Mixed/Accessory Output Bins: *Standard MBMStaplerStacker MBMStacker HPFinisher HPMultiBinMailbox HPMailboxMode/Mailbox Mode: *PrintersDefault Standard MBMode StackerMode SeparatorMode SorterCollatorMode InstalledMemory/Total Printer Memory: *64-127MB 128-255MB 256-383MB 384-512MB HPOption_PaperPolicy/Fit to Page: *PromptUser NearestSizeAdjust NearestSizeNoAdjust HPJobRetentionOption/Job Retention: HPJobRetentionQuickCopy HPJobRetentionProof HPJobRetentionStore *HPJobRetentionOff HPUserName/User Name: *FileSharingName Forms Set HPJobName/Job Name: *DocName Set HPwmSwitch/Watermark/Overlay: *Off Watermark Overlay HPwmPages/Watermark Pages: *AllPages FirstPage HPwmTextMessage/Watermark Text: *Draft CompanyConfidential CompanyProprietary CompanyPrivate Confidential Copy Copyright FileCopy Final ForInternalUse Preliminary Proof ReviewCopy Sample TopSecret Urgent Set HPwmFontName/Watermark Font: CourierB *HelveticaB TimesB HPwmFontSize/Watermark Size (points): pt24 pt30 pt36 pt42 *pt48 pt54 pt60 pt66 pt72 pt78 pt84 pt90 HPwmTextAngle/Watermark Angle: Deg90 Deg75 Deg60 *Deg45 Deg30 Deg15 Deg0 DegN15 DegN30 DegN45 DegN60 DegN75 DegN90 HPwmTextStyle/Watermark Style: Thin *Medium Thick Halo Fill HPwmBrightness/Watermark Intensity: Darkest Darker Dark MediumDark *Medium MediumLight Light Lighter Lightest OutputBin/Output Destination: *PrinterDefault Upper Left StackerFaceUp Stacker UStapler HPBooklet HP8BinMB HPStaplerOptions/Finishing Options: *PrintersDefault 1diagonal 1parallel 2parallel 3parallel 6parallel HPBooklet HPMailboxOptions/Mailbox Options: *PrintersDefault Bin1 Bin2 Bin3 Bin4 Bin5 Bin6 Bin7 Bin8 Bin1_8 HPEdgeToEdge/Edge-To-Edge Printing: *False True HPRotate180/Rotate Page 180 deg: *False True Collate/Collate: *True False PageSize/Media Size: *Letter LetterSmall Legal LegalSmall Executive HalfLetter w612h935 Tabloid 12X18 A3 RA3 A4 A4Small A5 B5 B4 w612h936 DoublePostcard w774h1116 w558h774 EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch Custom PageRegion/PageRegion: Letter LetterSmall Legal LegalSmall Executive HalfLetter w612h935 Tabloid 12X18 A3 RA3 A4 A4Small A5 B5 B4 w612h936 DoublePostcard w774h1116 w558h774 EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch InputSlot/Media Source: Tray1 *Tray2 Tray3 Tray4Optional ManualFeed/Tray 1 (Manual): True *False MediaType/Media Type: *Unspecified Plain Preprinted Letterhead Transparency Prepunched Labels Bond Recycled Color CardStock164 Rough Envelope Duplex/Duplex: *None DuplexNoTumble DuplexTumble HPHalftone/Levels of Gray: *PrinterDefault Enhanced Standard Resolution/Printer Resolution: 600x600dpi *600x600x2dpi HPEconoMode/EconoMode: *PrinterDefault True False Smoothing/Resolution Enhancement: *PrinterDefault None Light Medium Dark In this i am not able to find "job-page-limit" option. Any idea as how do i set ? Any setting @ printer end or anything drivers update @ redhat end? Kindly suggest? Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Fw: Query - How do i configure CIFS protocol for sharing a printer to windows client
Hi team, Anybody have idea on below issue. Pls suggest.. Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing - Forwarded by Amit Anjarlekar/MUM/TCS on 04/02/2009 01:42 PM - Michael Adam 04/02/2009 01:38 PM Please respond to ob...@samba.org To amit.anjarle...@tcs.com cc Steve French , sfre...@samba.org Subject Re: Query - How do i configure CIFS protocol for sharing a printer to windows client As Steve already pointed out: Please direct such questions / discussions to the samba@lists.samba.org mailing list. Or to samba-techni...@lists.samba.org if it is related to development of Samba. You can subscribe to our mailing lists under https://lists.samba.org/mailman/ Cheers - Michael amit.anjarle...@tcs.com wrote: > Hi Steve, > Thanks for replying.. > I wl just clarify the things much better... Mine quota settings for local > users on samba server is working.. How do i get same applied to samba > users? > I had integrated linux client with AD using winbind... But now how to > configure "username map" variable, means what exactly i have to do before > putting this entry in smb.conf? > I want my ads users to get linux shared printer mapped with ads login only > with quota restriction enabled using windows login... So that they dont > have to give extra password for getting access to samba printer.. > How do i go for the same? I had configured cups for printer sharing.. > Pls let m know for any further clarification.. > > Thanks & Regards > Amit Sudhir Anjarlekar > Asst. Systems Engr. > Tata Consultancy Services > Mailto: amit.anjarle...@tcs.com > Website: http://www.tcs.com > > Experience certainty. IT Services > Business Solutions > Outsourcing > > > > > Steve French > 04/01/2009 10:09 PM > > To > amit.anjarle...@tcs.com > cc > sfre...@samba.org, ob...@samba.org > Subject > Re: Query - How do i configure CIFS protocol for sharing a printer to > windows client > > > > > > > Sounds like a better question for the samba mailing list, but it isn't > clear whether you have problems with configuring smb printing from a > Linux client (you say both Linux client and Windows client). > Presumably you really have a question about how to configure Samba > server for printing and configuring Samba server security settings > which are better asked on the mailing list after you have looked > through Samba server documentation. > > > -- Forwarded message -- > From: > Date: Wed, Apr 1, 2009 at 3:09 AM > Subject: Query - How do i configure CIFS protocol for sharing a > printer to windows client > To: sfre...@samba.org, ob...@samba.org > > > > Hi team, > I am working on print quota project . I want my linux shared printer > which has quota set should be accessed by windows client without > password. I integrated my linux client in wndows AD. How do i > configure next steps? > Pls let me know if u have any solution. > > Regards > Amit Sudhir Anjarlekar > Asst. Systems Engr. > Tata Consultancy Services > Mailto: amit.anjarle...@tcs.com > Website: http://www.tcs.com > > Experience certainty.IT Services >Business Solutions >Outsourcing > > > =-=-= > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > > > > -- > Thanks, > > Steve > > ForwardSourceID:NT000213DE > =-=-= > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the
[Samba] help needed: connecting with similar windows-unix usernames?
Hello all samba'ers I'm trying to configure samba for Windows (active-directory) authentication, with every Windows-user having a similar unix username. I've created the users in both sides but I couldn't configure the smb.conf file (either with or without SWAT) to make it work. I'm using XP clients with a Win2K3 as the domain server and Solaris 9 as the samba server. Everything works fine when I use the 'security = share' option so I believe the physical connection is ok. 1. Do I actually need to use 'security = user', or should I use 'security = server"? 2. I've created the smbpasswd(5) file and edited it with smbpasswd(8), and synchronized users+passwords with the relevant ones at /etc/passwd and /etc/shadow. Do I actually need the smbpasswd(5)? 3. Is it feasible without using winbind? 4. Does any of you have some smb.conf sample for connecting using similar windows-unix usernames? 5. Do I need to use the 'username map' option even if the usernames are similar? Here is a part of the [global] section at my smb.conf, each line suffiixed (here, not actually in the file itself) with my description: [global] workgroup = GIS' windows workgroup to 'contain' the samba server null passwords = yes ' preferred, not a must valid users = minhal, +pcgis' pcgis is a group on unix. am I right? or does this parameter meant to be for windows groups? write list = minhal ' this user should have write-permission on shared directories regardless of their mode Here is another section of my smb.conf for defining a samba share: [home1] path = /home1 read only = no guest ok = yes ' not necessary, just for the test Now what am I missing? what have I done wrong? Thanks and regards, Amit Zvigoren Systematics Technologies -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Question about policies [OT?]
Yea, that is possible. First of all find the registry hive/key over any of your XP client, which controlls the 'firewall' & then create a new custom ADM file to provide you the power to control the firewall settings from policy editor (search google for how to create custom adm files ~~> http://www.google.co.in/search?hl=en&q=how+to+create+adm+files&btnG=Google+Search&meta=). Now import your first customised ADM file in policy editor & then disable firewall from there. Save all your changes to a filename as NTCONFIG.POL. Place it in your netlogon share & its all done. Let your XP clients log off n log on for changes to take effect. With the same way you can control any registry setting. But make sure you revert back the setting in policy editor to get that effect off from clients as these changes are tattooed to your box & need to revert back precisely for reverse effect. Regards Amit.. From: Koenraad Lelong <[EMAIL PROTECTED]> To: samba Subject: [Samba] Question about policies [OT?] Date: Fri, 17 Feb 2006 08:37:48 +0100 Hi, I'm using samba 3 as a domain controller. For some XP-pro laptops I would like to disable the firewall when they are logged in on our network (I don't like it but I have to). Is this possible with Windows policies ? If so, does someone know about good reading material about policies ? I do have "Mastering Windows XP professional" but that's absolutely no help. Thanks for any thoughts. Regards, Koenraad Lelong. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File-name Mangling issue...
Thanks Chris... But even with "mangled names = yes" , any file-name created with characters more than 8 is not getting converted into 8.3 schema automatically even while i copy paste it from windows or i save a new file with notepad over samba share. I think there have to be some else configuration lines other than these below mentioned ones to do the needfull.. -- case sensitive = no default case = upper preserve case = no short preserve case = no mangled names = yes -- It doesnt work even if with mangled names = no The only thing i want is for my long file-names to be converted into 8.3 filename schema. Thanks & regards Amit sharma From: "Chris Lounsbury" <[EMAIL PROTECTED]> To: "Amit Sharma" <[EMAIL PROTECTED]> Subject: Re: [Samba] File-name Mangling issue... Date: Tue, 20 Dec 2005 12:42:21 -0700 Amit The only thing I see wrong here is that you forgot the s on your mangled names parameter. You have it as mangled name Chris P.S. You shouldn't need to recompile for this I don't think >>> "Amit Sharma" <[EMAIL PROTECTED]> 12/20/2005 12:32 PM >>> I want all the file-names to be stored on a samba share from my XP clients to be automatically converted to 8.3 syntax, so that i do not have any further problem while transporting those files over to other networks/servers like netware. As for now i am using these below mentioned lines to support file-name mangling over my samba. - #I do not want my filenames to be case sensitive, hence case sensitive = no #I want all file names to be saved as in upper case, hence default case = upper #I do not want user input file-name case to be preserved, hence preserve case = no #I do not even want the case of files which conform to 8.3 syntax to be preserved, hence short preserve case = no # I am not sure exactly what does this key/value pairs do, even though its the default value.. mangled name = yes - First thing : But whenever i testparm my smb.conf, i get the error of Unknown parameter encountered: "mangled name" Ignoring unknown parameter "mangled name" As per the smb.conf man page : "The name mangling (if enabled) allows a file to be copied between UNIX directories from Windows/DOS while retaining the long UNIX filename. Default: mangled names = yes" Second thing : What does it mean by "if enabled" ? Do i need to recompile my samba for mangling support & if yes, what exactly do i need to mention as when compiling samba ? Can any one enlighten up this issue a bit or tell me where did i went wrong? I am using samba-3.0.10-1.4E. Thanks & regards ..amit.. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] File-name Mangling issue...
I want all the file-names to be stored on a samba share from my XP clients to be automatically converted to 8.3 syntax, so that i do not have any further problem while transporting those files over to other networks/servers like netware. As for now i am using these below mentioned lines to support file-name mangling over my samba. - #I do not want my filenames to be case sensitive, hence case sensitive = no #I want all file names to be saved as in upper case, hence default case = upper #I do not want user input file-name case to be preserved, hence preserve case = no #I do not even want the case of files which conform to 8.3 syntax to be preserved, hence short preserve case = no # I am not sure exactly what does this key/value pairs do, even though its the default value.. mangled name = yes - First thing : But whenever i testparm my smb.conf, i get the error of Unknown parameter encountered: "mangled name" Ignoring unknown parameter "mangled name" As per the smb.conf man page : "The name mangling (if enabled) allows a file to be copied between UNIX directories from Windows/DOS while retaining the long UNIX filename. Default: mangled names = yes" Second thing : What does it mean by "if enabled" ? Do i need to recompile my samba for mangling support & if yes, what exactly do i need to mention as when compiling samba ? Can any one enlighten up this issue a bit or tell me where did i went wrong? I am using samba-3.0.10-1.4E. Thanks & regards ..amit.. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Removing the comments listing
Does anyone know how to remove the browse list comments listing? In other words, in our instance, when you browse the my network places, both the resource name and comments are lengthy Samba 3.0.13. listings. As per the man page of smb.conf, That is because "server string = samba %v" is the default value to be displayed in the browse listing. You could change it to your required needs. But even though in my case, i am using samba as a PDC & changing "server string = Linux" doesnt reflect over to my XP clients. I use logon scripts for my users to provide mappings of share with 'net use' command. Even after changing "server string = Linux" , i still gets samba & version in the browse listings & drive mappings. Can any one be of some help to me on this ? Regards ..Amit.. P.S. testparm doesnt produce any errors. From: "Allan Levene" <[EMAIL PROTECTED]> To: Subject: [Samba] Removing the comments listing Date: Mon, 19 Dec 2005 16:39:16 -0500 MIME-Version: 1.0 Received: from lists.samba.org ([66.70.73.150]) by bay0-mc3-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 19 Dec 2005 19:43:33 -0800 Received: from dp.samba.org (localhost [127.0.0.1])by lists.samba.org (Postfix) with ESMTP id A6563163DACfor <[EMAIL PROTECTED]>; Tue, 20 Dec 2005 03:42:49 + (GMT) Received: from mout.perfora.net (mout.perfora.net [217.160.230.40])by lists.samba.org (Postfix) with ESMTP id 485D7162C31for ; Mon, 19 Dec 2005 21:39:17 + (GMT) Received: from [216.235.137.99] (helo=allanxp)by mrelay.perfora.net (node=mrelayus1) with ESMTP (Nemesis),id 0MKp2t-1EoSiy0C2r-0003fd; Mon, 19 Dec 2005 16:39:17 -0500 X-Message-Info: JGTYoYF78jHg2E4EzxGlX5Ia/yET1FlcLCuKUcqgqUg= X-Original-To: samba@lists.samba.org Delivered-To: samba@lists.samba.org Organization: steam&sauna X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcYE5KjldhgKJrrbRy6q/qQZfUP5Tg== X-Provags-ID: perfora.net [EMAIL PROTECTED]:d4d574e95bedbe331f264695492f592e X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on dp.samba.org X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=3.8 tests=BAYES_50,HTML_80_90,HTML_MESSAGE,RCVD_IN_BLARS_RBL autolearn=no version=3.0.4 X-Mailman-Approved-At: Tue, 20 Dec 2005 03:37:36 + X-Content-Filtered-By: Mailman/MimeDel 2.1.5 X-BeenThere: samba@lists.samba.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General questions regarding Samba List-Unsubscribe: <https://lists.samba.org/mailman/listinfo/samba>,<mailto:[EMAIL PROTECTED]> List-Archive: <http://lists.samba.org/archive/samba> List-Post: <mailto:samba@lists.samba.org> List-Help: <mailto:[EMAIL PROTECTED]> List-Subscribe: <https://lists.samba.org/mailman/listinfo/samba>,<mailto:[EMAIL PROTECTED]> Errors-To: [EMAIL PROTECTED] Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 20 Dec 2005 03:43:34.0052 (UTC) FILETIME=[8D5A2640:01C60517] Does anyone know how to remove the browse list comments listing? In other words, in our instance, when you browse the my network places, both the resource name and comments are lengthy Samba 3.0.13. listings. Thanks, -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Using multiple password servers in smb.conf
Hi all, I've trying to use multiple password servers in my smb.conf. I'm using net utility for authenticating to a AD server. The behavious I see on 3.0.4 version of net utility is as following: 1: It tries to connect to first password server. 2: If first password server is down, it keeps on retrying for 3 min. 3: After three minutes, it tries second password server. 4: If second password server is down it tries three times. 5: It then tries third password server. I was wondering is there a way I can prevent it from hanging for three minutes on the first password server? Your help is truly appreciated. thanks Amit -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] installation error while installing through rpm
I am trying to install samba-3.0.14a on RHL 9. I had installed samba-2.2.7a earlier which I tried to remove before installing samba-3.0.14a through rpm. I got the following error message. If anybody can help me please reply file /etc/rc.d/init.d/winbind from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /etc/samba/smb.conf from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /lib/libnss_winbind.so.2 from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /lib/libnss_wins.so.2 from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /lib/security/pam_winbind.so from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/bin/smbpasswd from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/bin/testparm from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/bin/testprns from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/bin/wbinfo from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/sbin/winbindd from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/share/man/man1/testparm.1.gz from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/share/man/man1/testprns.1.gz from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/share/man/man1/wbinfo.1.gz from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/share/man/man5/lmhosts.5.gz from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/share/man/man5/smb.conf.5.gz from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/share/man/man8/smbpasswd.8.gz from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /usr/share/man/man8/winbindd.8.gz from install of samba-3.0.14a-1 conflicts with file from package samba-common-2.2.7a-6 file /sbin/mount.smb from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /sbin/mount.smbfs from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/bin/nmblookup from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/bin/rpcclient from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/bin/smbcacls from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/bin/smbclient from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/bin/smbmnt from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/bin/smbprint from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/bin/smbspool from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/bin/smbtar from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man1/nmblookup.1.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man1/rpcclient.1.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man1/smbcacls.1.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man1/smbclient.1.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man1/smbtar.1.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man8/smbmnt.8.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man8/smbmount.8.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man8/smbspool.8.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 file /usr/share/man/man8/smbumount.8.gz from install of samba-3.0.14a-1 conflicts with file from package samba-client-2.2.7a-6 Thanks a lot for any help or comments, Amit Brahmbhatt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] The account is not authorized to login from this station
I have a simple smb.conf file: [global] hosts allow = ALL [tmp] user = root comment = temporary files path = /tmp read only = yes root = amits command:> net use f: \\smbserver\tmp , error:> System error 1240 has occured. The account is not authorized to login from this station I could test everything else successfully from the diagnosis.txt file. Thanks, -amit -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win2k clients and PDC
Hi, We have Samba 2.2.6(+2.2.7 security patch) installed on solaris. Samba is used as PDC for WinNT and Win2K clients. The WinNT machines have no problems geting into the domain as machine trust accounts exist in /etc/passwd and smbpasswd file. However, Win2k clients are not able to join the domain. I did go through the documentation, and hence created root account in 'smbpasswd' for win2k clients to join the domain. But, when I try to put a Win2k machine into the domain with the 'root' account, I get 'Logon failure: unknown usename or bad password' error on client side. However, with the same 'root' account, I can mount smb shares on the servers from Win2k clients. So, it's the PDC thing that is giving the problems. I did look into log files and i see following lines [2003/01/03 14:48:12, 4] smbd/password.c:smb_password_ok(475) smb_password_ok: Checking SMB password for user root [2003/01/03 14:48:12, 5] smbd/password.c:smb_password_ok(489) smb_password_ok: challenge received [2003/01/03 14:48:12, 4] smbd/password.c:smb_password_ok(499) smb_password_ok: Checking NT MD4 password [2003/01/03 14:48:12, 4] smbd/password.c:smb_password_ok(504) smb_password_ok: NT MD4 password check failed [2003/01/03 14:48:12, 4] smbd/password.c:smb_password_ok(518) smb_password_ok: Checking LM password [2003/01/03 14:48:12, 4] smbd/password.c:smb_password_ok(523) smb_password_ok: LM password check failed [2003/01/03 14:48:12, 2] smbd/password.c:pass_check_smb(575) pass_check_smb failed - invalid password for user [root] [2003/01/03 14:48:12, 2] smbd/reply.c:reply_sesssetup_and_X(972) NT Password did not match for user 'root'! [2003/01/03 14:48:12, 2] smbd/reply.c:reply_sesssetup_and_X(982) Defaulting to Lanman password for root Can somebody help me with this ? thanks in advance rgds Amit -- Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbd processes hanging around (fwd)
Can somebody help with this ? -- Forwarded message -- Date: Mon, 11 Nov 2002 14:32:40 -0500 (EST) From: amit deshmukh <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: smbd processes hanging around Hi All, I am using Samba 2.2.3a as PDC to Windows NT 4.0 workstations. The PDC works fine except for the fact that the user processes (smbd) that are spawned, stay for a while even after the user logs off. The behavior of these processes is such that it is initially owened by user 'nobody' as soon as user logs off and then the process is owned by 'root'. The process eventually goes off after around 40 mins or sometime it does not go at all. I did look at samba logs for the machines that are as follows [2002/11/02 04:08:07, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206) api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON. [2002/11/02 04:08:07, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200) api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed. I read it from the mailing list that relocating the private directory would saove this problems.. but it doesn't seem to work for me. Can anybody help me with this ? thanks in advance regds Amit -- Amit Deshmukh -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbd processes hanging around
Hi All, I am using Samba 2.2.3a as PDC to Windows NT 4.0 workstations. The PDC works fine except for the fact that the user processes (smbd) that are spawned, stay for a while even after the user logs off. The behavior of these processes is such that it is initially owened by user 'nobody' as soon as user logs off and then the process is owned by 'root'. The process eventually goes off after around 40 mins or sometime it does not go at all. I did look at samba logs for the machines that are as follows [2002/11/02 04:08:07, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206) api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON. [2002/11/02 04:08:07, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200) api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed. I read it from the mailing list that relocating the private directory would saove this problems.. but it doesn't seem to work for me. Can anybody help me with this ? thanks in advance regds Amit -- Amit Deshmukh -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] print job not deleting
I faced the same problem. I think done_jobs is printcap parameter and not lpd.conf. Also try compling lprng with --with-done-jobs=0. I did that and it worked for me Amit -- Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- On Tue, 11 Jun 2002, Van Sickler, Jim wrote: > You're using LPRng...it's a "feature" that > appeared in 3.8.10/3.8.12. Not fixed yet... > > If you Cancel the Paused job, it goes away. > (The job has already been printed by the > time it's listed as Paused). > > Patrick & the LPRng list are aware of it. > > Jim > > > -Original Message- > > From: Wise, Gene [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, June 11, 2002 3:53 PM > > To: '[EMAIL PROTECTED]' > > Subject: [Samba] print job not deleting > > > > > > Has anyone seen this? > > When we print using Samba, the printjob stays in the > > queue after prints > > Also in the LPD.conf is set to : > > save_when_done@ > > done_jobs=0 > > done_jobs_max_age=1 > > We're using Redhat 7.3. > > Samba 2.2.4-1 > > Any help would great, > > Gene Wise > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing Question
Can anybody help with this ? attched is my conf file -- Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- On Fri, 17 May 2002, amit deshmukh wrote: > > I am not using -M option. I am just passing %M with -R for some accounting > stuff on printing side. I tried removing that also. Still it won't work. > I am not geting the reason why it doesn't call 'print command' for notmal > users. I tried using a dummy script. But even the script won't get called. > I think there is some problem with smb.conf. But I don't know what. I am > using lanpan style printing as in samba 2.0.*. I am attaching my smb.conf. > > See if u have any clues with that.. > > rgds > Amit > -- > Amit Deshmukh > Graduate Student (EECS) > University of Toledo. > > Contact Address > ~~~ > 2952, Kendale Drive, > Apt #202, > Toledo OH 43606 > Ph. 419-471-9789 > -- > > On Thu, 16 May 2002, Joel Hammer wrote: > > > Could it be the improper option -M is preventing lpr from running? > > Joel > > > > On Thu, May 16, 2002 at 02:50:56PM -0400, amit deshmukh wrote: > > > Can anybody help with this ? > > > > > > -- Forwarded message -- > > > Date: Thu, 16 May 2002 11:58:10 -0400 (EDT) > > > From: amit deshmukh <[EMAIL PROTECTED]> > > > To: [EMAIL PROTECTED] > > > Subject: [Samba] Printing Question > > > > > > Hi, > > > > > > I am using Samba with LPRng. I have in my configuration > > > > > > print command = /usr/local/lprng/current/bin/lpr -P%p %s -R%M > > > > > > The permissions for lpr are -rwsr-xr-x. > > > > > > I am using samba as PDC. With this setup, when I login as a root > > > in the domain, I can print properly. When I login as a normal user in the > > > domain from an NT machine, I do not get any prints. The smbprn print spool > > > file gets created in /servers/samba/printers folder (which is writable as > > > required by samba printing docs). > > > When I looked into the samba log for a normal user, I do not see a > > > call made to lpr (which I usually see when it is done from a root accnt). > > > What I can conclude with this is that if there is any problem then it is > > > to do with 'lpr' permissions. But, as mentioned earlier these permissions > > > are enough for printing (a normal user can print from a unix machine > > > directly).. > > > > > > Can anybody help me with this ? > > > > > > thanks in advance > > > > > > rgds > > > Amit > > > > > > > > > -- > > > Amit Deshmukh > > > Graduate Student (EECS) > > > University of Toledo. > > > > > > Contact Address > > > ~~~ > > > 2952, Kendale Drive, > > > Apt #202, > > > Toledo OH 43606 > > > Ph. 419-471-9789 > > > -- > > > > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > [global] interfaces = X.Y.Z.W bind interfaces only= true workgroup = MY_PDC server string = Samba2.2 hosts allow = A.B.C. E.F.G. deadtime= 0 # idle time out getwd cache = yes create mode = 0600 disable spoolss = yes printing = lprng load printers = yes log file= /usr/local/servers/samba/log/log.%m max log size= 1000 utmp= true utmp directory = /var/ad
Re: [Samba] Printing Question
I am not using -M option. I am just passing %M with -R for some accounting stuff on printing side. I tried removing that also. Still it won't work. I am not geting the reason why it doesn't call 'print command' for notmal users. I tried using a dummy script. But even the script won't get called. I think there is some problem with smb.conf. But I don't know what. I am using lanpan style printing as in samba 2.0.*. I am attaching my smb.conf. See if u have any clues with that.. rgds Amit -- Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- On Thu, 16 May 2002, Joel Hammer wrote: > Could it be the improper option -M is preventing lpr from running? > Joel > > On Thu, May 16, 2002 at 02:50:56PM -0400, amit deshmukh wrote: > > Can anybody help with this ? > > > > -- Forwarded message -- > > Date: Thu, 16 May 2002 11:58:10 -0400 (EDT) > > From: amit deshmukh <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: [Samba] Printing Question > > > > Hi, > > > > I am using Samba with LPRng. I have in my configuration > > > > print command = /usr/local/lprng/current/bin/lpr -P%p %s -R%M > > > > The permissions for lpr are -rwsr-xr-x. > > > > I am using samba as PDC. With this setup, when I login as a root > > in the domain, I can print properly. When I login as a normal user in the > > domain from an NT machine, I do not get any prints. The smbprn print spool > > file gets created in /servers/samba/printers folder (which is writable as > > required by samba printing docs). > > When I looked into the samba log for a normal user, I do not see a > > call made to lpr (which I usually see when it is done from a root accnt). > > What I can conclude with this is that if there is any problem then it is > > to do with 'lpr' permissions. But, as mentioned earlier these permissions > > are enough for printing (a normal user can print from a unix machine > > directly).. > > > > Can anybody help me with this ? > > > > thanks in advance > > > > rgds > > Amit > > > > > > -- > > Amit Deshmukh > > Graduate Student (EECS) > > University of Toledo. > > > > Contact Address > > ~~~ > > 2952, Kendale Drive, > > Apt #202, > > Toledo OH 43606 > > Ph. 419-471-9789 > > -- > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > [global] interfaces = X.Y.Z.W bind interfaces only= true workgroup = MY_PDC server string = Samba2.2 hosts allow = A.B.C. E.F.G. deadtime= 0 # idle time out getwd cache = yes create mode = 0600 disable spoolss = yes printing = lprng load printers = yes log file= /usr/local/servers/samba/log/log.%m max log size= 1000 utmp= true utmp directory = /var/adm/ wtmp directory = /var/adm/ security= user smb passwd file = /usr/local/servers/samba/private/passwd encrypt passwords = yes username= 0 # See speed.txt and the manual pages for details socket options = TCP_NODELAY # Use only if you have an NT server on your network that has been # configured at install time to be a primary domain controller. ; domain controller = # Samba to be a domain logon server for Windows95 workstations. domain logons = yes debug level = 3 # debug level = 2 logon drive = u: logon path = \\%L\Profiles\default dns proxy = no netbios name = abcde domain admin group =adeshmuk root #==
[Samba] Printing Question
Can anybody help with this ? -- Forwarded message -- Date: Thu, 16 May 2002 11:58:10 -0400 (EDT) From: amit deshmukh <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Samba] Printing Question Hi, I am using Samba with LPRng. I have in my configuration print command = /usr/local/lprng/current/bin/lpr -P%p %s -R%M The permissions for lpr are -rwsr-xr-x. I am using samba as PDC. With this setup, when I login as a root in the domain, I can print properly. When I login as a normal user in the domain from an NT machine, I do not get any prints. The smbprn print spool file gets created in /servers/samba/printers folder (which is writable as required by samba printing docs). When I looked into the samba log for a normal user, I do not see a call made to lpr (which I usually see when it is done from a root accnt). What I can conclude with this is that if there is any problem then it is to do with 'lpr' permissions. But, as mentioned earlier these permissions are enough for printing (a normal user can print from a unix machine directly).. Can anybody help me with this ? thanks in advance rgds Amit ------ Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing Question
Hi, I am using Samba with LPRng. I have in my configuration print command = /usr/local/lprng/current/bin/lpr -P%p %s -R%M The permissions for lpr are -rwsr-xr-x. I am using samba as PDC. With this setup, when I login as a root in the domain, I can print properly. When I login as a normal user in the domain from an NT machine, I do not get any prints. The smbprn print spool file gets created in /servers/samba/printers folder (which is writable as required by samba printing docs). When I looked into the samba log for a normal user, I do not see a call made to lpr (which I usually see when it is done from a root accnt). What I can conclude with this is that if there is any problem then it is to do with 'lpr' permissions. But, as mentioned earlier these permissions are enough for printing (a normal user can print from a unix machine directly).. Can anybody help me with this ? thanks in advance rgds Amit -- Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba