Re: [Samba] Adding local group - Access denied
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ??? What do you want from me? Do you want to teach me the principles of admin's work? In this case, feel free to open a new thread!!! Holger Tony Earnshaw wrote: | man, 25.04.2005 kl. 17.48 skrev Holger Wesser: | | |short question: I try to add a local group via the NT-Usermanager |(usrmgr.exe), but everytime I get a Access denied. Adding a global |group works. I'm logged on as Administrator. I'm running Samba 3.0.14a |on Debian Sarge (testing) with the smbldap-tools (v0.8.8). | |What could I have done wrong? | | | Basically using LDAP and the smbldap-tools (v0.8.8) knowing what they | do, how they do it or having read through *all* the official Samba | documentation and done everything in it. Had you done so (judging that | tens of thousands have got it to work before you) it would work for you. | | That having been said (my bounden duty to the Samba team), I have always | contended and still contend that the idealx smbldap-tools (whichever | version whatever) are UTTERLY USELESS to an LDAP pro who already has an | LDAP DSA running with a completely different DIT to which the idealx and | Samba people might decree. | | However, the good news is, that whichever sysadmin: | | a: first understands LDAP (at least several months experience for any | other use than Samba whatsoever) | b: second has had a concentrated look at Samba 3 utils and daemons; | c: third has a reasonable experience in awk, shell and sed scripting | (each of awk and sed one can teach oneself in a weekend, shell costs one | years, learn it first) | | doesn't need the idealx tools. | | Not needing the idealx tools means that the sysadmin is free to choose | his own LDAP DIT as he/she has already implemented it (long before | having started with Samba 3). The Samba daemons and utils of all kinds | do not need the idealx tools, they work perfectly without them. They | (the Samba daemons and uitils) were implemented by prophets of the true | way. idealx has to drag itself, groaning, to the heights that these | magnificent tools reached some time ago. | | The Samba people don't need teaching, the idealx people need training in | what LDAP is. They seem to be utterly ignorant, as to that extent. | | No, John H. T. I have not contacted the idealx people. That would be | useless. There are several thousand others besides me who find idealx's | method perfect, then there's me that doesn't. The difference is, that I | already had my DIT (multiple user bases, multiple group bases and much | more. Samba isn't there for LDAP, LDAP is there for Samba) and had to | make it work with Samba, not the other way around. So I can't use the | on the fly Samba scripts, I have to do things by hand. No skin off my | nose. | | --Tonni | -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCbeJiO0QDuZMdP0sRApoeAJ4qMdNNK0GJU0W1p6e0yNSfQDQBkwCfadeJ GkuOQM+f8IJFAd5THHTqPKw= =ZlhY -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Authentication problems after update to Samba 2.2.12
Hello, I've just updated from Samba 2.2.8a to 2.2.12 and now I've regconized that my user authentication does not work anymore. We have an Active Directory Domain and I tried the following lines in smb.conf: security = domain password server = dc1,dc2 encrypted passwords = yes With these lines all authentications fail. When I change my configuration to security = server password server = dc1 encrypted passwords = yes everything works fine. What has changed from 2.2.8a to 2.2.12? Is it not possible to use the 'security = domain' string anymore? Kind regards, Oliver Koch -- Oliver Koch Tel.: 05323/72-2043 Rechenzentrum TU Clausthal Fax:05323/72-3536 Erzstraße 51Email: [EMAIL PROTECTED] D - 38678 Clausthal-Zellerfeld WWW:www.rz.tu-clausthal.de signature.asc Description: OpenPGP digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba ldap filter
Hi, I have an interesting issue on 3.0.13: the ldap filter insists on having ...(objectclass=smabaSamAccount)... as part of the filter. Of course at the same time the smbldap-useradd -w ... initially does not add in this objectclass... (the chicken and egg issue) Yet, on another system (different domain, etc) I did not have this issue. Does anyone have any experience on this? tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Minimal Samba
Hi, What is the minimal configuration settings requered to see Samba server in WinXPP Seach for computers Thanks Alex _ Are you right for each other? Find out with our Love Calculator: http://fun.mobiledownloads.com.au/191191/index.wl?page=191191text -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Minimal Samba
Alex, I suspect you wont get far on this list with this type of question. Just reading the docs would have told you the answer to this ; http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2463782 What I wanted was a mix of share and user level security but I dont think thats possible. Graham -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] the administrator profiles problem
Hi! I have aproblem with the administrator problem. Some server is connected with administrator profilesfor running some applications. The same administrator is used for connect and install some applications on workstation. The operator put the administrator profile in local profile, but the administrator profile is modified and each new workstation receive the profile with non-existent icons and link. And now the profile is damaged and some right is not possible are there a way for configuring workstation or administrator user for this profile management. A other question, why when I change the administrator password, workstation create a new profile. ADMINISTRATOR old profile ADMINISTRATOR.000 new profile Thanks Stéphane Purnelle --- Stéphane PURNELLE [EMAIL PROTECTED] Service Informatique Corman S.A. Tel : 00 32 087/342467 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] winbindd config
I am using the *.deb packages found on the samba website, in conjction with Debian woody and the krb5-user package availible from debian. Can any one tell me weather or not the *.deb packages on the samba site are compiled with ads support? -Original Message- From: spiv007 [mailto:[EMAIL PROTECTED] Sent: Monday, 25 April 2005 3:40 AM To: Brett Lindsay Cc: Paul_Krash; samba@lists.samba.org Subject: Re: [Samba] winbindd config I got mine to work, i had to install openldap, krb5 (Kerberos), and db4. then rebuild samba with ad. But the domain im trying to connect to is a ad domain and not nt4 On 4/24/05, Brett Lindsay [EMAIL PROTECTED] wrote: Thanks Paul, But Unfortunatly this results in the same error!!! -Original Message- From: Paul_Krash [mailto:[EMAIL PROTECTED] Sent: Saturday, 23 April 2005 2:51 AM To: Brett Lindsay Cc: samba@lists.samba.org Subject: Re: [Samba] winbindd config Brett Lindsay wrote: However when I run net rpc join -S PDCName -U Administrator I get Unable to join domain DomainName. I have followed the config advise in the The Official Samba-3 HOWTO and Reference Guide and I can get the server to join using net join -S PDCName -UAdministrator%Password. net rpc join -S PDCName -U Administrator ^drop the space Best, PKrash -- 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] Re: Minimal Samba
Hi Graham, I suspect you wont get far on this list with this type of question. Thank you, but I have no intention of going far on this. I need a basic share printer setup to work, and nothing further. Just reading the docs would have told you the answer to this ; Thank you for the reference. However, not this example, not others from similar sources, change what I observe. WinXP can see Win2K, but none can see the Samba box! I would appreciate a reference to a troubleshooting guide, or a maillist where a basic samba question can get a professional answer. Best regards, Alex _ Searching for that dream home? Try http://ninemsn.realestate.com.au for all your property needs. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Minimal Samba
Alex J wrote: Hi Graham, I suspect you wont get far on this list with this type of question. Thank you, but I have no intention of going far on this. I need a basic share printer setup to work, and nothing further. Just reading the docs would have told you the answer to this ; Thank you for the reference. However, not this example, not others from similar sources, change what I observe. WinXP can see Win2K, but none can see the Samba box! I would appreciate a reference to a troubleshooting guide, or a maillist where a basic samba question can get a professional answer. Best regards, Alex _ Searching for that dream home? Try http://ninemsn.realestate.com.au for all your property needs. I also suspect that to get a 'professional answer' you would have to start by at least posting your smb.conf Remember, this isnt a payed for commercial service. No one owes you an answer. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Minimal Samba
From: Graham Bentley [EMAIL PROTECTED] I also suspect that to get a 'professional answer' you would have to start by at least posting your smb.conf Here goes [global] workgroup = Jhome server string = evectra netbios name = evectra security = share ;wins support = no [shared] path = /home/shared available = yes browseable = yes public = yes writable = yes guest ok = Yes _ SEEK: Now with over 80,000 dream jobs! Click here: http://ninemsn.seek.com.au?hotmail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba Server [Solaris 8] on Windows 2K/2003 [ADS] network
CHRISTOPH: I've never done that. How do you do it? Tim Christoph Kaegi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 22.04-10:18, Eric Boehm wrote: Tim -Is it possible to Tim set up a test environment for the new Samba release in Tim another location on the same UNIX box? Not sure what you mean here. Do you mean you want to separate Samba installs on the same box? If so, you would need at least two network interfaces. You can't run two instances of Samba on the same interface/IP address. You don't need a second network interface, you can just define a second IPaddress on the same interface. -- -- Christoph Kaegi [EMAIL PROTECTED] -- -- 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] disabled share
Hi! I'm looking for a way to disable a directory shared. I think that I can set null valid users parameter but I would know if a boolean parameter exists. Thanks, Fabio -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] disabled share
The easiest way, I think, is commenting out the directory share configuration :) best regards, José Luis Ledesma ___ Competitiveness Telephone: +34 93 582 02 90 Email: [EMAIL PROTECTED] Website: http://www.competitiveness.com -Original Message- From: Fabio Marcone [mailto:[EMAIL PROTECTED] Sent: martes, 26 de abril de 2005 13:51 To: samba@lists.samba.org Subject: [Samba] disabled share Hi! I'm looking for a way to disable a directory shared. I think that I can set null valid users parameter but I would know if a boolean parameter exists. Thanks, Fabio -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) -- 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] problem with foxpor adir function under win'98
hi, we use samba as fileserver. i always download and install the newest version of it to keep the system up-to-date. but now i have a problem. i've updated to 3.0.14a. after it i can not start an old DOS program, because it sais a directory does'n exist. i tried to start it under win'98. under windows xp it had no problem and started. i consulted with the programmer and he said that it seems fox pro's adir function returns wrong value under windows'98. so i've downgraded my samba to 3.0.10 and now the program runs fine under both windows'98 and windows xp. is it a known bug or maybe i have to set something in the samba.cfg file? Attila Mesterhazy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Authentication failure when accessing Samba server in a NT domain
Hello Samba Gurus, I have configured my Samba install to be a domain member of a NT4-Style domain. The version of samba used is 3.0.13. The domain joining process worked fine (net rpc join). An excerpt of smb.conf is provided at the end for reference. The problem is that when users access this server, they are challenged for the username password. I was of the impression that this process would be seamless to the user. On providing the NT username/password, the login process still fails. It just comes back with the same prompt challenging the user. These users are added in /etc/passwd but not in smbpasswd, as per the documentation. On using smbclient: # ./smbclient -d 3 -U akamdar -L localhost This was the output obtained: lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file /usr/local/samba/lib/smb.conf Processing section [global] added interface ip=192.168.2.37 bcast=192.168.2.255 nmask=255.255.255.0 Client started (version 3.0.13). resolve_lmhosts: Attempting lmhosts lookup for name localhost0x20 resolve_wins: Attempting wins lookup for name localhost0x20 resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name localhost0x20 Connecting to 127.0.0.1 at port 445 Password: Doing spnego session setup (blob length=58) got OID=1 3 6 1 4 1 311 2 2 10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60890215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 SPNEGO login failed: Access denied session setup failed: NT_STATUS_ACCESS_DENIED Can someone please help me understand what exactly is causing this problem and of possible solutions? Any help would be greatly appreciated. Regards, Ashutosh ---smb.conf8--- [global] dns proxy = no debug timestamp = yes encrypt passwords = yes idmap gid = 15000-2 socket options = TCP_NODELAY max log size = 1024 password server = PASSWORDSERVER idmap uid = 15000-2 debug level = 3 security = domain server string = Samba Server workgroup = DOMAINNAME log level = 3 log file = /usr/local/samba/var/log.%m netbios name = appserver7 load printers = yes os level = 33 default = share winbind use default domain = Yes [homes] comment = Home Directories valid users = %S browseable = no writable = yes [share] path = /share comment = Solaris share valid users = @staff guest ok = Yes read only = No -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] trusted domain 'disconnected' using winbind
I have a problem with winbind resolving global groups on a trusted NT Domain. I want to use SQUID and NTLM Authentification and therefore the external authentification helper needs to check if a user belongs to a given group. When I do 'windbind -r DOMAIN+USER GROUP', only groups of the local domain are listed. It seems as if winbind couldn't find a domain controller for the trusted domain: 'wbinfo --sequence' shows the trusted domain disconnected. Debugging winbindd does show following errors: wbinfo --sequence = [..] bind_rpc_pipe: transfer syntax differs rpc_pipe_bind: check_bind_response failed. [..] Could not open a connection to DOMAIN_B for \PIPE\samr (NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND) wbinfo -g = get_sam_group_entries: could not enumerate domain groups! Error: NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND Though winbind couldn't find a Domain Controller, checking Password secrets using 'winbind -a' works without any problems for members of both domains. Has anyone an idea how to solve this problem? Samba Version: 3.0.9-2.6-SUSE 2 NT4 SP6 Servers acting as PDC for 2 trusted Domains Thx Andi -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba Server [Solaris 8] on Windows 2K/2003 [ADS] network
On Tue, Apr 26, 2005 at 06:11:15AM -0500, TimS wrote: Tim == TimS [EMAIL PROTECTED] writes: Christoph == Christoph Kaegi [EMAIL PROTECTED] Tim CHRISTOPH: I've never done that. How do you do it? Using ip aliases. See man ifconfig, see the section on logical interfaces. Briefly LOGICAL INTERFACES Solaris TCP/IP allows multiple logical interfaces to be associated with a physical network interface. This allows a single machine to be assigned multiple IP addresses, even though it may have only one network interface. Physical network interfaces have names of the form driver-name physical-unit-number, while logical interfaces have names of the form driver-name physical-unit-number:logical-unit-number. A physical interface is configured into the system using the plumb command. For example: Tim -Is it possible to Tim set up a test environment for the new Samba release in Tim another location on the same UNIX box? Eric Not sure what you mean here. Do you mean you want to Eric separate Samba installs on the same box? If so, you would Eric need at least two network interfaces. You can't run two Eric instances of Samba on the same interface/IP address. Christoph You don't need a second network interface, you can just Christoph define a second IPaddress on the same interface. -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NIS schema clash [solved]
On Mon, 2005-04-25 at 18:15 -0400, Adam Tauno Williams wrote: There seems to be a conflict between schemas. I get the following message when starting the ldap server: Starting ldap-server /etc/openldap/schema/nis.schema: line 40: Dubplicate attributeType: 1.3.6.1.1.1.1.0 What attribute is this? Have you looked at just commenting out the offending attribute in one of the files? For instance, several schemas define displayName, you just pick one to provide it. Hi, I found the problem. SUSE 9.2 Pro has a rfc2307bis.schema file too, which contains everything that the nis.schema file contains, and a whole lot more. removing nis.schema thus has no ill-efect, but removing the rfc2307bis one makes ldap complain about missing attributes from samba.schema. So nis goes. :-) Thanks -- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] AD Rules in Samba
Hi, How can I create group policies in Active Directory using Samba 3? (Such as only allow three time incorrect login and ect.) Are there any pages that I can refer to. Regards Msg sent via ORANGEMAIL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Adding local group - Access denied
short question: I try to add a local group via the NT-Usermanager (usrmgr.exe), but everytime I get a Access denied. Adding a global group works. I'm logged on as Administrator. I'm running Samba 3.0.14a on Debian Sarge (testing) with the smbldap-tools (v0.8.8). What could I have done wrong? Well, what have you tried to debug this? What is the output from running the add group script from the command line? Do you have other groupmaps working just fine? -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba as domain member server cannot authenticate users
This problem was already described on a very similar way in Oct 2004 on the following message: [http://lists.samba.org/archive/samba/2004-October/094683.html] As no solution was found so far, I am re-posting it on the hope that somebody can help. = Situation: - A windows2000 domain with active directory up and running. - A Samba server with fileshares and printers. Debian Sarge, Samba 3.0.10 - Windows clients Objective: - To have windows users being able to transparently map fileshares on the linux server, and to print to these linux printers without having to enter a separate password for the linux shares/printers. The linux server should accept the windows logged-in user. What I have accomplished: Installed samba, it worked fine with local authentication. Changed the samba configuration and installed winbind, and changed the /etc/nsswitch.conf, /etc/pam.d/login, so I could log in to the linux machine using the windows AD authentication. With those changes, I can successfully log in to the linux server with a windows user. What is missing: With this setup, I can't access the fileshares when I try to map them from a windows client. The linux server requests the password, and I try to enter username, domain\username, [EMAIL PROTECTED], \\domain\username, DOMAIN\username, and nothing works. Diagnostics: When I try to access a share from a windows machine, the /var/log/samba/log.machinename reports this: ---log--- [2005/04/25 18:51:13, 0] auth/pampass.c:smb_pam_accountcheck(781) smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User MYDOMAIN\username! ---/log--- However, if I log on locally, the user MYDOMAIN\username is a valid one! I have stripped out the comments, and post my my smb.conf below(mydomain being my domain, and username# being valid usernames): ---smb.conf--- [global] workgroup = mydomain server string = %h server (Samba %v) include = /etc/samba/dhcp.conf dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d security = domain password server = * encrypt passwords = true passdb backend = tdbsam guest obey pam restrictions = yes guest account = nobody invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . SO_RCVBUF=8192 SO_SNDBUF=8192 socket options = TCP_NODELAY domain master = no local master = no preferred master = no idmap uid = 1-2 idmap gid = 1-2 template shell = /bin/bash [testshare] comment = Testing share writable = yes path = /fileshare/testshare write list = username1,username2 force create mode = 0775 force directory mode = 6775 ---/smb.conf--- Something is wrong, I just couldnt figure out what. I believe it to be something to make samba talk to winbindd, identifying the users. If I find out the answer, will post it here. Thanks very much for the attention! Best Regards! Breno Moiana. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] AD Rules in Samba
How can I create group policies in Active Directory using Samba 3? (Such as only allow three time incorrect login and ect.) Are you saying that you are running an samba controlled domain and would like to make use of the GPO functionality like one would get in an AD domain? If that is the case, you can't. The closest you can get is using NT4 style policies. Are there any pages that I can refer to. Please refer to the official books from www.samba.org. They go into some detail about using poledit and such. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] AD Rules in Samba
How can I create group policies in Active Directory using Samba 3? (Such as only allow three time incorrect login and ect.) You can use pdbedit to establish password policies; lock out counts, expiration, minimum time to change, length, etc... Are you saying that you are running an samba controlled domain and would like to make use of the GPO functionality like one would get in an AD domain? If that is the case, you can't. The closest you can get is using NT4 style policies. There was a statement that GPO *IS* possible in Samba 3.x; but I haven't seen the documentation come forth. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] AD Rules in Samba
How can I create group policies in Active Directory using Samba 3? (Such as only allow three time incorrect login and ect.) You can use pdbedit to establish password policies; lock out counts, expiration, minimum time to change, length, etc... Ah... but of course. Thanks for catching my slip-up. The information on this can be found in the pdbedit man page, these appear to be the relevant portions -P account-policy Display an account policy Valid policies are: minimum password age, reset count minutes, disconnect time, user must logon to change password, password history, lockout duration, min pass- word length, maximum password age and bad lockout at- tempt. Example: pdbedit -P bad lockout attempt account policy value for bad lockout attempt is 0 -C account-policy-value Sets an account policy to a specified value. This op- tion may only be used in conjunction with the -P op- tion. Example: pdbedit -P bad lockout attempt -C 3 account policy value for bad lockout attempt was 0 account policy value for bad lockout attempt is now 3 Are you saying that you are running an samba controlled domain and would like to make use of the GPO functionality like one would get in an AD domain? If that is the case, you can't. The closest you can get is using NT4 style policies. There was a statement that GPO *IS* possible in Samba 3.x; but I haven't seen the documentation come forth. Really? I thought this was excusively a samba4 thang. My ears and mind are open... -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Adding local group - Access denied
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Paul, I tried it on the console and got a: /usr/sbin/smbldap-groupadd: unknown group type 4 Well, I searched through the perl scripts, but sorry- as a non-programmer I cannot find anything. I set the log level to 3, but the outputs in the logfile seems to me okay. Maybe I made errors when using the smbldap-groupadd command: 'smbldap-groupadd -a -g 1038 -t 2 abakus' Unfortunately, I couldn't find an example how to use the command exactly. Greetings, Holger Paul Gienger wrote: | | short question: I try to add a local group via the NT-Usermanager | (usrmgr.exe), but everytime I get a Access denied. Adding a global | group works. I'm logged on as Administrator. I'm running Samba 3.0.14a | on Debian Sarge (testing) with the smbldap-tools (v0.8.8). | | What could I have done wrong? | | | Well, what have you tried to debug this? | What is the output from running the add group script from the command | line? Do you have other groupmaps working just fine? | -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCbkBJO0QDuZMdP0sRAoJAAJ9wfVAdN48yZ7DmQgEqF2+6TvF/SQCeK428 cnRuJLiWGdUbCtouLPgiKWg= =bR4J -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Clear Group Cache on Winbind ?
Hi i thinks that he have a cache for getent group no ? I don't see immediatly the modification of my active directory, only when i restart winbind ... he have a command ligne for flush the cache ? thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NT_STATUS_UNSUCCESSFUL message-- were to look?
Matt Price wrote: Sending a packet of len 50 to (128.100.34.127) on port 137 You netbios name services are misconfigured. If the print server in located acorss the router ( and the router is a NAT box ), then setup a WINS server or define the IP address of the printer server in an lmhosts file on the smb client. This topic should be covered in the documentation fairly well. cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca signature.asc Description: OpenPGP digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] user mapping problem when seurity=ads
Alexey Toptygin wrote: I have a setup that looks roughly like: # cat smb.conf [global] security = ads workgroup = company realm = internal.company.com password server = 192.168.1.2 netbios name = server server string = Samba Server name resolve order = wins bcast username map = /etc/samba/smbusers map to guest = Bad User invalid users = root [share] comment = Test Share path = /home/sambashare browseable = yes writeable = yes map archive = no map system = no map hidden = no create mask = 0775 directory mask = 0775 guest ok = yes # cat smbusers !alexey = alexey lab = * # ADS authentication works fine. When I log in with a user not known to the AD server, they get mapped to guest, and get the permissions of the nobody account. This I like. When I log in with a user known to the AD server but != alexey, they get mapped to lab and have the permissions of the lab account. This is good too. However, when I log in as alexey (for example by doing `smbclient //server/share -WCOMPANY -Ualexey`), I still get mapped to lab and have the permissions of the lab user. ps shows the child smbd process running as user lab, new files are created as that user, etc. Without winbind you will need to define the map entry as !alexy = internal.company.com\alexy The current usernamep map semantics is described in the releases notes for Samba 3.0.8 IIRC. cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca signature.asc Description: OpenPGP digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem with foxpor adir function under win'98
Mesterhazy Attila wrote: hi, we use samba as fileserver. i always download and install the newest version of it to keep the system up-to-date. but now i have a problem. i've updated to 3.0.14a. after it i can not start an old DOS program, because it sais a directory does'n exist. i tried to start it under win'98. under windows xp it had no problem and started. i consulted with the programmer and he said that it seems fox pro's adir function returns wrong value under windows'98. so i've downgraded my samba to 3.0.10 and now the program runs fine under both windows'98 and windows xp. is it a known bug or maybe i have to set something in the samba.cfg file? Attila, If you could test against 3.0.15pre2 that would help. If you can still reproduce the problem there, we'll start the bug fixing process. cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca signature.asc Description: OpenPGP digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] trusted domain 'disconnected' using winbind
Grund, Andreas wrote: I have a problem with winbind resolving global groups on a trusted NT Domain. I want to use SQUID and NTLM Authentification and therefore the external authentification helper needs to check if a user belongs to a given group. When I do 'windbind -r DOMAIN+USER GROUP', only groups of the local domain are listed. It seems as if winbind couldn't find a domain controller for the trusted domain: 'wbinfo --sequence' shows the trusted domain disconnected. Debugging winbindd does show following errors: wbinfo --sequence = [..] bind_rpc_pipe: transfer syntax differs rpc_pipe_bind: check_bind_response failed. [..] This is they key error message. Can you send me a raw ethereal trace and a level 10 debug log surrounduing this error? Thanks. Samba Version: 3.0.9-2.6-SUSE 2 NT4 SP6 Servers acting as PDC for 2 trusted Domains cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca signature.asc Description: OpenPGP digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Angebot
Sehr geehrte Damen und Herren, wir wollen Ihnen heute eine Partnerschaft anbieten! Aber zuerst moechte ich mich gerne vorstellen. Alexander Renin ist mein Name und ich bin die offizielle stellvertretender von OAO Fineko. OAO Fineko, ist eine russische Firma und unser Standort ist in Moskau. Unser Bereich ist der Export von Waren nach Russland, Konsultationen und Logistik. Wir konsultieren die Firmen die Ihre Ware nach Russland exportieren moechten. Wir haben zur Zeit noch keine Filiale in Deutschland, aber wuerden ganz gerne eine Stellvertretende Person haben. Wir haben im Moment ganz grosse Problem in Hinsicht auf Zahlungen aus Deutschland von unseren Kunden! Von Ihnen erwarten wir: Genauigkeit, Puenktlichkeit, Zuverlaessigkeit und natuerlich eine gesunde Arbeitseinstellung Falls Sie Interesse haben unser Partner zu werden und dazu auch in der Lage waehre bitte ich Sie um eine kurze Antwort an: Email: [EMAIL PROTECTED] ICQ: 243953492, 345716354 Eine kurze Bewerbung und ein Foto von ihnen sind besonders willkommen. Wir werden Sie so schnell wie moeglich telefonisch oder durch ICQ kontaktieren! Wir antworten Ihnen auf jeden Fall! Mit freundliche Gruessen Alexander Renin, OAO Fineko Diese Email wurde von einem Email-Roboter erstellt bitte nicht darauf antworten. wir haben Ihre Adresse aus dem Adressverteiler der Firma Ledikus.-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Authentication problems after update to Samba 2.2.12Oliver,
Oliver, I do not want to sound like a broken record, but Samba 2.x is dead code. Noone maintains it today. I recommend that you update to Samba-3 (3.0.14a is current stable) and if this problem still exists that you file a bug report of https:bugzilla.samba.org. Filing of a bug report will get action as soon as someone can make the time to deal with it. Cheers, John T. On Tuesday 26 April 2005 02:16, Oliver Koch wrote: Hello, I've just updated from Samba 2.2.8a to 2.2.12 and now I've regconized that my user authentication does not work anymore. We have an Active Directory Domain and I tried the following lines in smb.conf: security = domain password server = dc1,dc2 encrypted passwords = yes With these lines all authentications fail. When I change my configuration to security = server password server = dc1 encrypted passwords = yes everything works fine. What has changed from 2.2.8a to 2.2.12? Is it not possible to use the 'security = domain' string anymore? Kind regards, Oliver Koch -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] AD Rules in Samba
tir, 26.04.2005 kl. 14.57 skrev Paul Gienger: How can I create group policies in Active Directory using Samba 3? (Such as only allow three time incorrect login and ect.) Are you saying that you are running an samba controlled domain and would like to make use of the GPO functionality like one would get in an AD domain? If that is the case, you can't. The closest you can get is using NT4 style policies. Are there any pages that I can refer to. Please refer to the official books from www.samba.org. They go into some detail about using poledit and such. Actually, that's not quite correct. There is at least one commercial tool available for Samba that makes it possible to use mmc (the Microsoft Management Console) and many of its snapins (especially Group Policy, but some others work too) to write policy to netlogon and read it in at user logon time. Obviously Samba has to support these :) --Tonni -- Nothing sucksseeds like a pigeon without a beak ... mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Minimal Samba
On Tuesday 26 April 2005 02:55, Alex J wrote: Hi, What is the minimal configuration settings requered to see Samba server in WinXPP Seach for computers [global] workgroup='your-workgroup' [homes] If your workgroup=WORKGROUP (the windows default) that line can be omitted, but you need at least one parameter in the [global] stanza. For the rest, please refer to chapter 1 of the book Samba-3 by Example, 2nd Edition downloadable from http://www.samba.org/samba/docs/Samba-Guide.pdf Chapter 1 provides 3 simple network configurations that work. The above configuration is not very useful, but it answers your question precisely. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Minimal Samba
On Tuesday 26 April 2005 03:05, Graham Bentley wrote: Alex, I suspect you wont get far on this list with this type of question. Just reading the docs would have told you the answer to this ; pile http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#i d2463782 What I wanted was a mix of share and user level security but I dont think thats possible. It is possible. Master smb.conf file: [global] workgroup = FORTKNOX security = user netbios name = ARMEDGUARD netbios aliases = BANDIT include = /etc/samba/smb.conf.%L [homes] read only = No Now for the 'bandit' smb.conf: [global] workgroup = FORTKNOX security = share netbios name = BANDIT guest ok = Yes [cashpool] path = /money read only = yes guest only = yes - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] disabled share
On Tuesday 26 April 2005 05:51, Fabio Marcone wrote: Hi! I'm looking for a way to disable a directory shared. I think that I can set null valid users parameter but I would know if a boolean parameter exists. Just add to the share stanza: available = No - John T. Thanks, Fabio -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] nsswitch enum_dom_groups error?
Can anyone help me figuring out these errors? I am using Version 3.0.15pre2 with Active Directory 2003. Thanks. [2005/04/26 09:34:27, 1] nsswitch/winbindd_ads.c:enum_dom_groups(283) No rid for Replicator !? [2005/04/26 09:34:27, 1] nsswitch/winbindd_ads.c:enum_dom_groups(283) No rid for Server Operators !? [2005/04/26 09:34:27, 1] nsswitch/winbindd_ads.c:enum_dom_groups(283) No rid for Backup Operators !? [2005/04/26 09:34:27, 1] nsswitch/winbindd_ads.c:enum_dom_groups(283) No rid for Guests !? [2005/04/26 09:34:27, 1] nsswitch/winbindd_ads.c:enum_dom_groups(283) No rid for Pre-Windows 2000 Compatible Access !? [2005/04/26 09:34:27, 1] nsswitch/winbindd_ads.c:enum_dom_groups(283) No rid for Account Operators !? [2005/04/26 09:34:27, 1] nsswitch/winbindd_ads.c:enum_dom_groups(283) No rid for Administrators !? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba related errors
Can anyone help me figuring out the following errors? I am using Version 2.0.7 on Solaris 2.6 inetd [155]: /opt/samba/bin/nmbd: Hangup inetd [155]: netbios-ns/upd server failing (looping), service terminated I have few customers unable to convert images to JPEG format. I don't know if the above errors is the cause of the condition Thanks in advance ~Christine -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] wbinfo and getent work, join success, but unable to access server
i'm trying to setup samba on my nt4 network. i use ; fedora core 3 samba 3.0.14a-1 i want my samba server to be a member server of my domain my smb.conf and nsswitch.conf are configured correctly winbind ping is ok wbinfo -u and -g returns good data getent passwd and getent group returns good data but, if i try to connect \\computername, i get the format of the specified computer name is invalid + wbinfo -t returns ; checking the trust secret via RPC calls failed error code was NT_STATUS_INVALID_COMPUTER_NAME could not check secret but i joined domain by entering net rpc join -U administrator plus, i had created the computer name in server manager on PRIMARY DOMAIN CONTROLLER before trying the join please help -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] user mapping problem when seurity=ads
On Tue, 26 Apr 2005, Gerald (Jerry) Carter wrote: Without winbind you will need to define the map entry as !alexy = internal.company.com\alexy The current usernamep map semantics is described in the releases notes for Samba 3.0.8 IIRC. Thanks, that worked. I needed to put both the short and long form of the domain name to cover all cases, so now it looks like this: !alexey = alexey company\alexey internal.company.com\alexey Alexey -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba XP 2005 is next week (May 2 - 4)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FYI This is a last minute reminder that the Samba XP conference will be next week, May 2 - 4, at the Hotel Freizeit in Gttingen - Germany. More information about the conference itself can be found at http://www.sambaxp.org/. The technical sessions are listed at http://www.sambaxp.org/index.php?id=25. IMO (and I'm not on the program committee so I can honestly say this), the technical sessions look to be very strong this year. There's a full-day Winbind tutorial people might find to be interesting. In the interest of full disclosure, I am teaching it. But there seems to be enough trouble surrounding Winbind administration that hopefully people will find it helpful. Most of the active developers, both on Samba 3 and 4, will be there. So if there is a Samba topic you would like to chat about, this is one of the better chances to do so. The next conference that majority of Samba developers attend is the CIFS conference in San Jose, CA, Aug 1 - 5. More information can be found at http://www.cifs2005.org/. cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCbmuoIR7qMdg1EfYRAoDqAJ9GXUEJXvn1UihmFUSizTA7p3XU5wCgx9Op XiaHt1+lNRLWo6wpGbQwL9A= =LdeV -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RedHat EL 3 rpm spec file and samba 3.0.14a?
On 4/25/05, Gerald (Jerry) Carter [EMAIL PROTECTED] wrote: Marshall Herington wrote: Is the RedHat RPM spec file included with the samba-3.0.14a.tar.gz source files compatible with RedHat EL 3? No. But see http://www.enterprisesamba.com/ for RHEL3 RPMS. Or you could probably use the Fedora packaging in samba-3.0.14. But I haven't tested that on RHEL3. cheers, jerry It looks like the Fedora packaging (especially packaging/Fedora/makerpms.sh) handles things fairly well. Thanks to all for the helpful ideas. Regards, Marshall -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problems with unicode filenames
I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Group Policies in Samba 3
Ok, I'm going kinda nuts... I have a samba 3 + openldap domain, which works great for authentication, etc. I am trying to use the NTConfig.POL to enforce policies on a mix of 98/win2k and XP boxes. This is a K12 environment, so I need very restrictive policies for students, less so for teachers and staff. What seems to be happening, at least with the XP clients is that it gets the profile once during the user's initial login, but never looks to theNTConfig.pol file again. I'm certain that part of the problem is my own ignorance as to windows policy mechanisms/quirks/limitations. Has anyone come up with a method for implementing group-policy-like functionality from samba without resorting to a true AD installation + winbind? Scripting slight-of-hand or other tricks? I'd sure appreciate any wisdom you could toss my way. -- Jefferson K. Davis Technology and Information Systems Manager Standard School District 1200 North Chester Ave Bakersfield, CA 93308 USA 661-392-2110 ext 120 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Problems with unicode filenames
Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- 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] Problems with unicode filenames
charset = UTF8 gives me that error: Unknown parameter encountered: charset Ignoring unknown parameter charset Cristian Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samb a -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] kernel oops generated by smbfs module
Greetings, I have run into a kernel oops that I can generate at will, and that hangs my machine. The machine is running Gentoo Linux, 2.6.11 kernel and gcc 3.3.5. I can post more information if needed. The problem arises when I mount an SMB share from a 2000-series Snap server (network appliance); software version 3.4.804, hardware 2.0.3. The mount is fine, and can sit for a long time. However, as soon as I start doing ls in directories on the mount, or tab-completing filenames (i.e. short reads), I get a kernel oops. This invariably happens within 20 seconds of starting to do this. I have tried two separate NICs (one tulip-compatible card and a 3com 905B) both of which have the same problem. The machine hangs whether or not smbfs is a module (although running it as a module makes the source of the oops more obvious). I have never debugged the linux kernel before. What information do you folks need from me? I have at least one of the oopses in /var/log/messages, and can generate more of them. I read some of the kernel documentation but found it a little bit confusing, which is why I'm asking here. Regards, -- Erik Osheim -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems with unicode filenames
tir, 26.04.2005 kl. 19.00 skrev Cristian Thiago Moecke: I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... What does 'testparm -v -s | grep unix charset' return? I have the same need as you, only mine's for Norwegian characters. My unix charset's UTF-8. --Tonni -- Nothing sucksseeds like a pigeon without a beak ... mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems with unicode filenames
Ok, sorry..,.. i have set unix charset now I still have problems with smbmounted Windows NT shares... []'s Cristian Cristian, acho que ele estava falando de : unix charsert = UTF8 abraco, BM On 4/26/05, Cristian Thiago Moecke [EMAIL PROTECTED] wrote: charset = UTF8 gives me that error: Unknown parameter encountered: charset Ignoring unknown parameter charset Cristian Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samb a -- 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] Problems with unicode filenames
On Tuesday 26 April 2005 11:41, Cristian Thiago Moecke wrote: charset = UTF8 gives me that error: Unknown parameter encountered: charset Ignoring unknown parameter charset Hello Houston: You are tracking the wrong space craft. We are not charset we are unix charset - please copy that Houston - and we are into final re-entry orbit. We checked the smb.conf man page, Houston. - John T. Cristian Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samb a -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Problems with unicode filenames
No, the parameter is named unix charset, not charset! In smb.conf, you'll need a parameter that says: unix charset = UTF8 -Marc From: Cristian Thiago Moecke [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 10:42 AM To: Kaplan, Marc Cc: samba@lists.samba.org Subject: Re: [Samba] Problems with unicode filenames charset = UTF8 gives me that error: Unknown parameter encountered: charset Ignoring unknown parameter charset Cristian Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samb a -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] kernel oops generated by smbfs module
I have never debugged the linux kernel before. What information do you folks need from me? I have at least one of the oopses in /var/log/messages, and can generate more of them. I read some of the kernel documentation but found it a little bit confusing, which is why I'm asking here. The stock answer is that the smbfs code was neither written, nor is maintained here. You'd probably get better results asking in a kernel list, but I couldn't tell you which one. In the meantime, so that you don't kernel panic, have you tried to use the cifs mount methods? -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Problems with unicode filenames
Oh, you're using smbmount -- you didn't say so previously. As far as I know, smbmount doesn't support Unicode (can somebody confirm?), so you'll have to use the smbmount replacement, mount.cifs. See: http://www.samba.org/samba/docs/man/mount.cifs.8.html -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 11:00 AM To: samba@lists.samba.org Subject: Re: [Samba] Problems with unicode filenames Ok, sorry..,.. i have set unix charset now I still have problems with smbmounted Windows NT shares... []'s Cristian Cristian, acho que ele estava falando de : unix charsert = UTF8 abraco, BM On 4/26/05, Cristian Thiago Moecke [EMAIL PROTECTED] wrote: charset = UTF8 gives me that error: Unknown parameter encountered: charset Ignoring unknown parameter charset Cristian Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samb a -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba connection problem
Hi everyone, This is a repost because I really want to see if anyone can help me on this. One Windows 2000 laptop in our site is experiencing a strange samba connection problem. We have done some tests on this machine, here is how to reproduce the problem: 1) Start laptop connecting to our company network 2) Map the samba share from samba server and it works fine 3) Put laptop into standby but keep connecting to our company network 4) Return from standby and samba share can be remapped smoothly 5) Put laptop into standby again and disconnected from company network 6) Return from standby and samba share can not be remapped (of course because it is not in our company network) 7) Put laptop into standby again when it is not connected to the company network 8) Connect machine into our company network 9) Return from standby and Samba share can NOT be remapped although other Windows shares mapping from other company Windows file servers can be remapped successfully. The error was: The network path \\sambaserver\sambashare could not be found And there was no log entry on samba server logged for this connection attempt. Then at this point, if we reboot this laptop, the Samba share can be reconnected with no problem. I checked the machine when it had problem mapping the samba share, there was no DNS problem to resolve the hostname/IP. And this machine is using DHCP. This problem does not happen on my laptop installed with the same OS and going through the above sequence and for the same samba share. The samba server is running on HP-UX 11i and samba version is 3.0.5. Is there anyone experienced similar problem and can provide some suggestions? And what should I check to figure out the cause of the problem (for example, maybe some services should be restarted)? Thank you very much for your help! Xiaoqin Qiu Agilent Technologies, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems with unicode filenames
On Tuesday 26 April 2005 12:00, Cristian Thiago Moecke wrote: Ok, sorry..,.. i have set unix charset now I still have problems with smbmounted Windows NT shares... Oops. This is a General Motors dealership, we do not do Ford warranty work. With that said, smbfs is a Linux kernel driver that is not part of Samba. smbfs has been superceded by cifsfs in the 2.6 kernel. Suggest you update and if you still have trouble contact with the cifsfs developers. You might also check the CIFSFS Home page at: http://us1.samba.org/samba/Linux_CIFS_client.html - John T. []'s Cristian Cristian, acho que ele estava falando de : unix charsert = UTF8 abraco, BM On 4/26/05, Cristian Thiago Moecke [EMAIL PROTECTED] wrote: charset = UTF8 gives me that error: Unknown parameter encountered: charset Ignoring unknown parameter charset Cristian Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samb a -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Problems with unicode filenames
It seems that if your goal is to migrate the data off the NT server to the Samba server, you could alternatively just use an NT client (rather than cp after an smbmount) to move the data to the Samba server (that has unix charset = utf8). -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Kaplan, Marc Sent: Tuesday, April 26, 2005 11:05 AM To: Cristian Thiago Moecke; samba@lists.samba.org Subject: RE: [Samba] Problems with unicode filenames Oh, you're using smbmount -- you didn't say so previously. As far as I know, smbmount doesn't support Unicode (can somebody confirm?), so you'll have to use the smbmount replacement, mount.cifs. See: http://www.samba.org/samba/docs/man/mount.cifs.8.html -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 11:00 AM To: samba@lists.samba.org Subject: Re: [Samba] Problems with unicode filenames Ok, sorry..,.. i have set unix charset now I still have problems with smbmounted Windows NT shares... []'s Cristian Cristian, acho que ele estava falando de : unix charsert = UTF8 abraco, BM On 4/26/05, Cristian Thiago Moecke [EMAIL PROTECTED] wrote: charset = UTF8 gives me that error: Unknown parameter encountered: charset Ignoring unknown parameter charset Cristian Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samb a -- 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 -- 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
SOLVED Re: [Samba] Problems with unicode filenames
Thanks a lot, problem solved! cifs works just fine! :D Cristian Kaplan, Marc wrote: Oh, you're using smbmount -- you didn't say so previously. As far as I know, smbmount doesn't support Unicode (can somebody confirm?), so you'll have to use the smbmount replacement, mount.cifs. See: http://www.samba.org/samba/docs/man/mount.cifs.8.html -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 11:00 AM To: samba@lists.samba.org Subject: Re: [Samba] Problems with unicode filenames Ok, sorry..,.. i have set unix charset now I still have problems with smbmounted Windows NT shares... []'s Cristian Cristian, acho que ele estava falando de : unix charsert = UTF8 abraco, BM On 4/26/05, Cristian Thiago Moecke [EMAIL PROTECTED] wrote: charset = UTF8 gives me that error: Unknown parameter encountered: charset Ignoring unknown parameter charset Cristian Do you have unix charset = UTF8 in smb.conf? -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Cristian Thiago Moecke Sent: Tuesday, April 26, 2005 10:01 AM To: samba@lists.samba.org Subject: [Samba] Problems with unicode filenames I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ç, ã, é in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samb a -- 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/samb a -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Group Policies in Samba 3
tir, 26.04.2005 kl. 19.33 skrev Jeff Davis: Ok, I'm going kinda nuts... I have a samba 3 + openldap domain, which works great for authentication, etc. I am trying to use the NTConfig.POL to enforce policies on a mix of 98/win2k and XP boxes. This is a K12 environment, so I need very restrictive policies for students, less so for teachers and staff. What seems to be happening, at least with the XP clients is that it gets the profile once during the user's initial login, but never looks to theNTConfig.pol file again. I'm certain that part of the problem is my own ignorance as to windows policy mechanisms/quirks/limitations. Has anyone come up with a method for implementing group-policy-like functionality from samba without resorting to a true AD installation + winbind? Scripting slight-of-hand or other tricks? I'd sure appreciate any wisdom you could toss my way. Cautious yes, I've written this so many times, this will be the last. www.nitrobit.com - but only for Win200? and XP. It's commercial but cheap for education, it does what you (and I :) want - and more. You get a 42-day eval version, the documentation is lousy compared to Samba's. --Tonni -- Nothing sucksseeds like a pigeon without a beak ... mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem with foxpor adir function under win'98
On Tue, Apr 26, 2005 at 02:00:36PM +0200, Mesterhazy Attila wrote: hi, we use samba as fileserver. i always download and install the newest version of it to keep the system up-to-date. but now i have a problem. i've updated to 3.0.14a. after it i can not start an old DOS program, because it sais a directory does'n exist. i tried to start it under win'98. under windows xp it had no problem and started. i consulted with the programmer and he said that it seems fox pro's adir function returns wrong value under windows'98. so i've downgraded my samba to 3.0.10 and now the program runs fine under both windows'98 and windows xp. is it a known bug or maybe i have to set something in the samba.cfg file? This may be something we fixed for 3.0.15preXXX release. There were some OS/2 related fixes in this area. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] file locking in samba
Hi all I am new on the list and i subscribe it do try to solve a problem that i am having with samba and file locking. Last week we changed from DreamWaver to NVU, the DreamWaver implements file locking but the NVU dont. What started to happen is that two users can edit the same file, the files are in a samba server (3.0.10). What i am trying to do is implement the file lock in samba, make the samba server control the access to the files, denying two users acess the same file. I make searched over google and find some useful parameters, o created a test share in my server to test, but it did not work. If somebody have already implemented it or know how to implement file locking in samba please give me some help. What i have tried in the share: blocking locks = yes locking = yes oplocks = false level2 oplocks = false strict locking = yes posix locking = yes share modes = yes Thanks a lot my email is [EMAIL PROTECTED] icq 163263160 msn [EMAIL PROTECTED] -- Felipe L. Tocchetto msn [EMAIL PROTECTED] icq 163263160 [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows XP not connected to Samba network
On 4/24/05, Pertti Rahnel [EMAIL PROTECTED] wrote: Hello I have a problem connecting my Windows XP Home Edition machine to the Samba network. The SuSe Linux machine is visible on Windows machine, but when clicking on an icon, it displays an error message: //Server is not accessible. You might not have the permission to use this network resource. Contact the administrator. The network path was not found. I am completely new to the Linux world, so I have not got a clue what is the problem :-(. Thanks in advance, Pertti try this guide to setting up a samba domain with windows clients. http://www.hughesjr.com/content/view/24/2/Site_News works like a charm though it is meant for RHEL and clones. Ganesh -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] IPC$ entries not deleted from connections.tdb?
Hi Andrew, I know that you're a very busy guy, but I've CC you on this post a few days ago and didn't get any answer. http://lists.samba.org/archive/samba-technical/2005-April/040377.html http://lists.samba.org/archive/samba-technical/2005-April/040378.html http://lists.samba.org/archive/samba-technical/2005-April/040379.html http://lists.samba.org/archive/samba/2005-April/104135.html I would like to have your impression on this problem or if you can reproduce it. I would be really surprised if I was the only one who has it. The difference is that we're using samba with a lots of users and we've estimated that the file will grow at least 55mb per month. This if for a smbd child that make only one connection. It could be like 20 times bigger (1.1gb) if each smbd child owns 20 connections. Thanx Yannick Bergeron [EMAIL PROTECTED] [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] kernel oops generated by smbfs module
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Gienger wrote: | | The stock answer is that the smbfs code was neither | written, nor is maintained here. You'd probably | get better results asking in a kernel list, but | I couldn't tell you which one. Just to give credit here, the smbfs code was originally written by Volker Lendecke (of the Samba Team) a *long* time ago. I remember read his description about it in a Dr. Dobb's Journal back in either '97. But the code has a different maintainer these days. Hey Volker, how's this for nostalgia? :-) http://www.ddj.com/documents/s=944/ddj9702g/ cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCbphgIR7qMdg1EfYRAqMgAJwNTF2pIOABRJOOTIBMxJ8AYl+NUQCg4HQh 05GB4UhmbnX32bhqTj98zsw= =6YkS -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] HELP!! Only some machines connect to samba
Hi list, I got a strange problem here, i got 33 machines, all with Windows 2000. The thing is that some of them connect others don't, all with the exact same configuration. Same thing happen with users, some connect some don't. I have been looking around for a solution and found nothing. Please HELP!!! -- Cároly E. Arenas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] HELP!! Only some machines connect to samba
Please, more information !!! What is the error message It's with the same user - samba version - backend type - OS version (linux, AIX, ...) Caroly Arenas a écrit : Hi list, I got a strange problem here, i got 33 machines, all with Windows 2000. The thing is that some of them connect others don't, all with the exact same configuration. Same thing happen with users, some connect some don't. I have been looking around for a solution and found nothing. Please HELP!!! -- Stéphane Purnelle [EMAIL PROTECTED] Site Web : http://www.linuxplusvalue.be -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] x86_64 fedora 2-3 rpmbuild
When I try to compile samba.org 3.0.10-14a rpms on Fedora Core 2 and 3 x86_64, I get the following errors. The missing files are in /var/tmp/samba-3.0.14a-root/usr/lib/samba/ and there are just 2 files in lib64. So what is the secret incantation here? Thanks, Chuck + cp -pr README COPYING Manifest /var/tmp/samba-3.0.14a-root/usr/share/doc/samba-3.0.14a + cp -pr WHATSNEW.txt Roadmap /var/tmp/samba-3.0.14a-root/usr/share/doc/samba-3.0.14a + cp -pr docs /var/tmp/samba-3.0.14a-root/usr/share/doc/samba-3.0.14a + cp -pr examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting /var/tmp/samba-3.0.14a-root/usr/share/doc/samba-3.0.14a + cp -pr examples/printing /var/tmp/samba-3.0.14a-root/usr/share/doc/samba-3.0.14a + exit 0 Processing files: samba-client-3.0.14a-1 error: File not found: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/lowcase.dat error: File not found: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/upcase.dat error: File not found: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/valid.dat Processing files: samba-common-3.0.14a-1 error: File not found by glob: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/charset/CP*.so error: File not found by glob: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/idmap/idmap*.so Processing files: samba-swat-3.0.14a-1 error: File not found by glob: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/*.msg RPM build errors: File not found: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/vfs File not found: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/lowcase.dat File not found: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/upcase.dat File not found: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/valid.dat File not found by glob: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/charset/CP*.so File not found by glob: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/idmap/idmap*.so File not found by glob: /var/tmp/samba-3.0.14a-root/usr/lib64/samba/*.msg -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] HELP!! Only some machines connect to samba
On Tue, 26 Apr 2005 16:46:38 -0400 Caroly Arenas [EMAIL PROTECTED] wrote: I got a strange problem here, i got 33 machines, all with Windows 2000. The thing is that some of them connect others don't, all with the exact same configuration. Same thing happen with users, some connect some don't. I have been looking around for a solution and found nothing. Have you looked at the logs (/var/log/samba)? Regards, Nerijus -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] groups DOMAIN+user doesn't work
Hello, I am using winbind (samba 3.0.11). A command groups DOMAIN+user doesn't work for some users: # groups DOMAIN+user1 id: cannot find name for group ID 10073 # groups DOMAIN+user2 DOMAIN+user2 : DOMAIN+domain users DOMAIN+apskaita # getent passwd DOMAIN+user1 DOMAIN+user1:*:10042:1:xxx:/home/DOMAIN/user1:/bin/false # getent passwd DOMAIN+user2 DOMAIN+user2:*:10109:1:xxx:/home/DOMAIN/user2:/bin/false # getent group ... DOMAIN+domain users:x:1: ... BUILTIN+users:x:10073: From winbindd.log: nsswitch/winbindd_group.c:winbindd_getgrgid(400) name 'Users' is not a local or domain group: 5 Because of this problem group permissions for such users (like user1) do not work. Regards, Nerijus -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: IPC$ entries not deleted from connections.tdb?
On Tue, 2005-04-26 at 15:33 -0400, Yannick Bergeron wrote: Hi Andrew, I know that you're a very busy guy, but I've CC you on this post a few days ago and didn't get any answer. I'm not working on Samba 3.0 on a day-to-day basis - you will need to attract someone else's attention to the issue, or better still file it in bugzilla, if you think it's real. Sorry, Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] shared network printer on linksys print server
Are you using CUPS or lpr/LPRng for your printing? I have a Linksys PSUS4; it's probably similar to the PPXS1 in the setup. L1=Logical Printer Port 1, represents LPT1 P1=Parallel Printer Port 1 lpd://x.x.x.x/L1 or lpd://x.x.x.x/P1 http://www.linuxquestions.org/questions/archive/18/2003/10/4/106265 http://mail.asl.bc.ca/~timothy/cgi-bin/FAQlist.pl?strOS=REDHAT or rm= x.x.x.x rp=L1 Hope this helps, Jim -Original Message- From: Sean Fichera [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 4:56 PM To: samba@lists.samba.org Subject: [Samba] shared network printer on linksys print server I have a samba server running samba 3. I am not actually sure that this is samba not working or a linux printing thing. I have a Linksys PPSX1 Pocket Print Server and I am unable to print to the network printer. There are directions on the Linksys site but I get so far and the directions tell me to type a command that is not found. Is anyone printing to a Linksys Pocket Print Server? I need this to be queue based. Any suggestions? Sean Fichera Salem School District Media -- 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] Help with Samba 2.2.8.0 to 3.0.4.0
Hello. I'm trying to convert a Samba server from 2.2.8.0 on AIX 4.3.3 to Samba Version 3.0.4.0 on AIX version 5.2.0. I have listed my smb.conf file from the old version below and was hoping someone could point to the changes I'll need to make on the newer version. Thanks so much Right now, the users are verified against an NT Domain and I'd like to keep it that way. I really appreciate any advice Tony -- server lib cat smb.conf # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command testparm # to check that you have not many any basic syntactic errors. # #=== Global Settings = [global] # workgroup = NT-Domain-Name or Workgroup-Name ; workgroup = SUPPORT ; debug level = 10 ; syslog = 0 workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = Samba Server SERVER # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the loopback interface. For more examples of the syntax see # the smb.conf man page # If you want to automatically load your printer list rather # than setting them up individually then you'll need this ; load printers = yes # you may wish to override the location of the printcap file ; printcap name = /etc/printcap # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx ; printing = bsd printing = aix # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user nobody is used ; guest account = pcguest ; guest account = nobody # this tells Samba to use a separate log file for each machine # that connects log file = /var/samba/log/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. ; security = user ; security = share security = server # Use password server option only with security = server password server = itscpdc allow trusted domains = yes # Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. ; password level = 8 # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents ; encrypt passwords = yes encrypt passwords = no # If the following parameter is set to yes (it defaults to no) and # an smbpasswd file exists containing all the valid users of a Samba system # but no encrypted passwords (ie. the Lanman hash and NT hash entries in the # file are set to ), then as users log in # with plaintext passwords that are matched against their UNIX password # entries, their plaintext passwords will be hashed and entered into the # smbpasswd file. # update encrypted = yes # Unix users can map to different SMB User names ; username map = /etc/smbusers ; username map = /var/samba/users.map # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /usr/local/lib/smb.conf.%m # Most people will find that this option gives better performance. # See speed.txt and the manual pages for details socket options = TCP_NODELAY # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Configure remote browse list synchronisation here # request announcement to, or browse list sync from: # a specific host or from / to a whole subnet (see below) ; remote browse sync = 192.168.3.25 192.168.5.255 # Cause this host to announce itself to local subnets here ; remote announce = 192.168.1.255 192.168.2.44 # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply
Re: [Samba] Help with Samba 2.2.8.0 to 3.0.4.0
On Tuesday 26 April 2005 16:17, Rivera, Anthony R (OIT) wrote: Hello. I'm trying to convert a Samba server from 2.2.8.0 on AIX 4.3.3 to Samba Version 3.0.4.0 on AIX version 5.2.0. I have listed my smb.conf file from the old version below and was hoping someone could point to the changes I'll need to make on the newer version. Thanks so much Right now, the users are verified against an NT Domain and I'd like to keep it that way. I really appreciate any advice Tony, Please refer to chapter 8 of the book Samba-3 by Example available from http://www.samba.org/samba/docs/Samba-Guide.pdf IF anything is not clear, or does not answer your needs please let me know so I we can improve our documentation. - John T. Tony -- server lib cat smb.conf # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command testparm # to check that you have not many any basic syntactic errors. # #=== Global Settings = [global] # workgroup = NT-Domain-Name or Workgroup-Name ; workgroup = SUPPORT ; debug level = 10 ; syslog = 0 workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = Samba Server SERVER # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the loopback interface. For more examples of the syntax see # the smb.conf man page # If you want to automatically load your printer list rather # than setting them up individually then you'll need this ; load printers = yes # you may wish to override the location of the printcap file ; printcap name = /etc/printcap # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx ; printing = bsd printing = aix # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user nobody is used ; guest account = pcguest ; guest account = nobody # this tells Samba to use a separate log file for each machine # that connects log file = /var/samba/log/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. ; security = user ; security = share security = server # Use password server option only with security = server password server = itscpdc allow trusted domains = yes # Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. ; password level = 8 # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents ; encrypt passwords = yes encrypt passwords = no # If the following parameter is set to yes (it defaults to no) and # an smbpasswd file exists containing all the valid users of a Samba system # but no encrypted passwords (ie. the Lanman hash and NT hash entries in the # file are set to ), then as users log in # with plaintext passwords that are matched against their UNIX password # entries, their plaintext passwords will be hashed and entered into the # smbpasswd file. # update encrypted = yes # Unix users can map to different SMB User names ; username map = /etc/smbusers ; username map = /var/samba/users.map # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /usr/local/lib/smb.conf.%m # Most people will find that this option gives better performance. # See speed.txt and the manual pages for details socket options = TCP_NODELAY # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Configure remote browse list synchronisation here # request
Re: [Samba] x86_64 fedora 2-3 rpmbuild
Charles Weber wrote: When I try to compile samba.org 3.0.10-14a rpms on Fedora Core 2 and 3 x86_64, I get the following errors. The missing files are in /var/tmp/samba-3.0.14a-root/usr/lib/samba/ and there are just 2 files in lib64. So what is the secret incantation here? It's a broken specfile on x64. Someone reported it to me a while ago but I haven't gotten around to looking at the patch yet. I'll try to look at it later this week. cheers, jerry signature.asc Description: OpenPGP digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] libsmb/nmblib.c:receive_packet(1018)
Received the following messages ( scrolling ) in the log.smbd: users could not access the samba server. had to stop the samba daemons. ran a ps -ef | grep smb found many smbd processes running. had to pkill the process, and then re-start samba to make the shares available. Running 3.012 Can't find anything anywhere. Any help would be appreciated. [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) ~~ Travis Knabe Assistant Director University Computing Services Western Oregon University Phone: 503-838-8507 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] libsmb/nmblib.c:receive_packet(1018)
On Tue, Apr 26, 2005 at 04:31:03PM -0700, Travis Knabe wrote: Received the following messages ( scrolling ) in the log.smbd: users could not access the samba server. had to stop the samba daemons. ran a ps -ef | grep smb found many smbd processes running. had to pkill the process, and then re-start samba to make the shares available. Running 3.012 Can't find anything anywhere. Any help would be appreciated. Interesting, what platform was smbd running on ? Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA + LDAP configuration problem
Hi I have a problem with my samba ldap configuration. I can view users and groups with smbldap-usershow and smbldap-groupshow with out any problems. But when I go to add a user to a group with smbldap-groupmod -m USER GROUP I get an error that the group does not exist. Any suggestions for what might be wrong? I have been following the SAMBA LDAP HOWTO and I have samba version 3.0.14a. Thanks Ivan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] IPC$ entries not deleted from connections.tdb?
On Tue, Apr 26, 2005 at 03:33:11PM -0400, Yannick Bergeron wrote: Hi Andrew, I know that you're a very busy guy, but I've CC you on this post a few days ago and didn't get any answer. http://lists.samba.org/archive/samba-technical/2005-April/040377.html http://lists.samba.org/archive/samba-technical/2005-April/040378.html http://lists.samba.org/archive/samba-technical/2005-April/040379.html http://lists.samba.org/archive/samba/2005-April/104135.html I would like to have your impression on this problem or if you can reproduce it. I would be really surprised if I was the only one who has it. The difference is that we're using samba with a lots of users and we've estimated that the file will grow at least 55mb per month. This if for a smbd child that make only one connection. It could be like 20 times bigger (1.1gb) if each smbd child owns 20 connections. There were some codepaths in smbd/service.c that didn't call yield_connection() on an error. But they would only occur in an error case. Do you have any of these in you smbd logs ? Anyway, here is a patch to ensure yield_connection() is always called on error (and also a tidyup of some extraneous macro calls). Jeremy. Index: smbd/service.c === --- smbd/service.c (revision 6493) +++ smbd/service.c (working copy) @@ -521,7 +521,7 @@ /* Initialise VFS function pointers */ if (!smbd_vfs_init(conn)) { - DEBUG(0, (vfs_init failed for service %s\n, lp_servicename(SNUM(conn; + DEBUG(0, (vfs_init failed for service %s\n, lp_servicename(snum))); conn_free(conn); *status = NT_STATUS_BAD_NETWORK_NAME; return NULL; @@ -544,8 +544,8 @@ /* ROOT Activities: */ /* check number of connections */ if (!claim_connection(conn, - lp_servicename(SNUM(conn)), - lp_max_connections(SNUM(conn)), + lp_servicename(snum), + lp_max_connections(snum), False,0)) { DEBUG(1,(too many connections - rejected\n)); conn_free(conn); @@ -555,16 +555,16 @@ /* Preexecs are done here as they might make the dir we are to ChDir to below */ /* execute any root preexec = line */ - if (*lp_rootpreexec(SNUM(conn))) { + if (*lp_rootpreexec(snum)) { int ret; pstring cmd; - pstrcpy(cmd,lp_rootpreexec(SNUM(conn))); + pstrcpy(cmd,lp_rootpreexec(snum)); standard_sub_conn(conn,cmd,sizeof(cmd)); DEBUG(5,(cmd=%s\n,cmd)); ret = smbrun(cmd,NULL); - if (ret != 0 lp_rootpreexec_close(SNUM(conn))) { + if (ret != 0 lp_rootpreexec_close(snum)) { DEBUG(1,(root preexec gave %d - failing connection\n, ret)); - yield_connection(conn, lp_servicename(SNUM(conn))); + yield_connection(conn, lp_servicename(snum)); conn_free(conn); *status = NT_STATUS_ACCESS_DENIED; return NULL; @@ -575,6 +575,7 @@ if (!change_to_user(conn, conn-vuid)) { /* No point continuing if they fail the basic checks */ DEBUG(0,(Can't become connected user!\n)); + yield_connection(conn, lp_servicename(snum)); conn_free(conn); *status = NT_STATUS_LOGON_FAILURE; return NULL; @@ -584,16 +585,16 @@ /* Preexecs are done here as they might make the dir we are to ChDir to below */ /* execute any preexec = line */ - if (*lp_preexec(SNUM(conn))) { + if (*lp_preexec(snum)) { int ret; pstring cmd; - pstrcpy(cmd,lp_preexec(SNUM(conn))); + pstrcpy(cmd,lp_preexec(snum)); standard_sub_conn(conn,cmd,sizeof(cmd)); ret = smbrun(cmd,NULL); - if (ret != 0 lp_preexec_close(SNUM(conn))) { + if (ret != 0 lp_preexec_close(snum)) { DEBUG(1,(preexec gave %d - failing connection\n, ret)); change_to_root_user(); - yield_connection(conn, lp_servicename(SNUM(conn))); + yield_connection(conn, lp_servicename(snum)); conn_free(conn); *status = NT_STATUS_ACCESS_DENIED; return NULL; @@ -601,7 +602,7 @@ } #ifdef WITH_FAKE_KASERVER - if (lp_afs_share(SNUM(conn))) { + if (lp_afs_share(snum)) { afs_login(conn); } #endif @@ -612,9 +613,9 @@ I have disabled this chdir check (tridge) */ /* the alternative is just to
Re: [Samba] groups DOMAIN+user doesn't work
On Wed, 27 Apr 2005 00:12:56 +0300 (EEST) Nerijus Baliunas [EMAIL PROTECTED] wrote: From winbindd.log: nsswitch/winbindd_group.c:winbindd_getgrgid(400) name 'Users' is not a local or domain group: 5 Because of this problem group permissions for such users (like user1) do not work. Actually one more error in winbindd.log: nsswitch/winbindd_group.c:winbindd_getgrnam(308) name 'users' is not a local or domain group: 5 Any ideas? Why winbind tries to map local (BUILTIN) group? Regards, Nerijus -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Commercially supported Samba
Does anyone know of a commercially provided and supported version of Samba in the United States? Sheri Greathouse EDS - Software Services - AIX Capabilities MS 2o 1075 W. Entrance Drive Auburn Hills, MI 48326 + mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Immediate work available
This opportunity is great for people looking for extra income. We need right candidates that would like to make money from home! No special skills required! No fees to start! We will train you. Your personal instructor will teach and train you how to put the internet and your computer to work. We are looking for people that want to make money working part time. We will need 3 hours per day from you. You can work part time or full time. Be your own boss and make money working a couple of hours per day. Unlimited Income Potential! Take Action and Start Doing Something Positive TODAY! Our compensation package has never been matched. Get extra income you need! You can try it on for size without jeopardizing your current position! We will need 10 - 15 hours per week commitment. No fee to join our company! Your commitment to success can make it all happen! APPLY NOW to get more information about this exciting opportunity. To continue with the application process please fill in our online application at: http://www.globaltransfer.net/vacancies.html -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA 2.0.7 on Solaris 9 - How to disable port 445
I have SAMBA 2.0.7 running on about 20 Solaris 9 servers around the US. One location is experiencing interruptions for Windows XP clients who map to the SAMBA server. There are no known changes to Solaris or SAMBA to explain the change. The problem is very random. I have seen postings that discuss how XP uses ports 139 and 445. Is there a way to block port 445 in SAMBA 2.0.7? The smb ports configuration file entry is invalid for 2.0.7. I tried smb -p 139 - D and there is still traffic on port 445. Is there a way to block all TCP port 445 activity on the server side without having to learn SunScreen? Any suggestions will be most appreciated. Joe Ward [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: SAMBA 2.0.7 on Solaris 9 - How to disable port 445
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there a way to block all TCP port 445 activity on the server side without having to learn SunScreen? Two options: 1) upgrade to samba 3 (I know, might not be feasible but eventually you will have to that ;-) 2) make use of some other firewalls (should be there, somewhere ?) HTH -- Michal Kurowski [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Commercially supported Samba
On Tuesday 26 April 2005 19:16, Greathouse, Sheri L wrote: Does anyone know of a commercially provided and supported version of Samba in the United States? Sheri Greathouse EDS - Software Services - AIX Capabilities MS 2o 1075 W. Entrance Drive Auburn Hills, MI 48326 + mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Sheri, I provide commercial support for Samba. I also maintain the official Samba documentation. I live in Salt Lake City, Utah. If that qualifies me, how may I be of service? You can reach me tomorrow on (801) 936-1368. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with length of share names
Hi all, I'm wondering if there is some restriction on the length of share names that prevents shares with names over 12 characters being browsed to ? I have a share with a name that is 14 characters, and I'm able to connect to it if I type in the name by hand, but I can't browse to it from either Windows or MacOSX boxes (`smbclient -L host` also won't see it). I'm using Debian sarge with package version 3.0.10-1 I've been searching around and I have only found one or two references to this problem, both of which are about 4 years old. Is this actually a limitation ? a bug in my config ? a known bug ? Any help is appreciated Cheers Dave -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA 2.0.7 on Solaris 9 - How to disable port 445
On Tuesday 26 April 2005 20:56, [EMAIL PROTECTED] wrote: I have SAMBA 2.0.7 running on about 20 Solaris 9 servers around the US. One location is experiencing interruptions for Windows XP clients who map to the SAMBA server. There are no known changes to Solaris or SAMBA to explain the change. The problem is very random. I have seen postings that discuss how XP uses ports 139 and 445. Is there a way to block port 445 in SAMBA 2.0.7? The smb ports configuration file entry is invalid for 2.0.7. I tried smb -p 139 - D and there is still traffic on port 445. No need to. Samba-2.x does not support port 445 afaicr. Is there a way to block all TCP port 445 activity on the server side without having to learn SunScreen? Not needed if it is inactive. Any suggestions will be most appreciated. Best suggestion is to update to Samba-3.0.14a. Please let me know if you need help. You can contact me on (801) 936-1368. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Apologies
Folks, Apologies for spamming this list with respect to commercial support. I just noticed that I replied to the list and not to the enquirer. My bad! I should have been more careful with the reply to address. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Minimal Samba
From: John H Terpstra [EMAIL PROTECTED] [global] workgroup='your-workgroup' [homes] If your workgroup=WORKGROUP (the windows default) that line can be omitted, but you need at least one parameter in the [global] stanza. For the rest, please refer to chapter 1 of the book Samba-3 by Example, 2nd Edition downloadable from http://www.samba.org/samba/docs/Samba-Guide.pdf Chapter 1 provides 3 simple network configurations that work. The above configuration is not very useful, but it answers your question precisely. John, Thank you for the precision of your answer. It helped me to find out that the problem was in firewall settings rather then in Samba. It works now. As far as chapter 1 of the book goes, I think it is brilliant, and should be advertised more on the relevant sites. Thank you and best regards, Alex _ Buy want you really want - sell what you don't on eBay: http://adfarm.mediaplex.com/ad/ck/705-10129-5668-323?ID=2 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Minimal Samba
From: Graham Bentley [EMAIL PROTECTED] What permissions do you have on /home/shared ? Are your machines on the same subnet ? My public drive ; [public] path = /public public = yes only guest = yes writable = yes printable = no Permissions on /public are 777 Hi Graham, Thank you for your reply. The machines are on the same subnet, however Shorewall settings prevented connections from Ubuntu box to Windows. It works now. Thanks again, Alex _ SEEK: Now with over 80,000 dream jobs! Click here: http://ninemsn.seek.com.au?hotmail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re:
- ( 2004 .) -, , =15 1-2- = : - Daikin - 21 (17 + 2 ) / , : ~ ~( - ) ~( ) ~ Wi-Fi ( ) ~ reception ~( ) ~ ~ ~ - ( ,DJ,) ~ Room Service ~ , ,. -- : : 90 / 08/05/05 110 / 09/05/05 10/07/05 90 / 11/07/05 02/10/05 70 / 03/10/05 - , , . ! , ! , , . , , -,.. : www.kristoff-hotel.com ---= =--- , 191002, -, ., 9 +7 (812) 11=24=782 e-mail: [EMAIL PROTECTED] ! ! ! PS. ( 7 $) ( 10 $) -: ( ., 57), (. , 14), FX-017 ( ., 13) , , PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.catb.org/~esr/faqs/smart-questions.html
svn commit: samba r6483 - in branches/SAMBA_4_0/source/lib: . cmdline
Author: metze Date: 2005-04-26 07:10:43 + (Tue, 26 Apr 2005) New Revision: 6483 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6483 Log: fix anonymous connections, '-U %' or '-U %' can be used for this metze Modified: branches/SAMBA_4_0/source/lib/cmdline/popt_common.c branches/SAMBA_4_0/source/lib/credentials.c Changeset: Modified: branches/SAMBA_4_0/source/lib/cmdline/popt_common.c === --- branches/SAMBA_4_0/source/lib/cmdline/popt_common.c 2005-04-26 05:19:22 UTC (rev 6482) +++ branches/SAMBA_4_0/source/lib/cmdline/popt_common.c 2005-04-26 07:10:43 UTC (rev 6483) @@ -197,7 +197,7 @@ cli_credentials_parse_string(cmdline_credentials, arg, CRED_SPECIFIED); - if ((lp=strchr_m(arg,'%'))) { + if (cmdline_credentials-password (lp=strchr_m(arg,'%'))) { memset(lp,0,strlen(cmdline_credentials-password)); } } Modified: branches/SAMBA_4_0/source/lib/credentials.c === --- branches/SAMBA_4_0/source/lib/credentials.c 2005-04-26 05:19:22 UTC (rev 6482) +++ branches/SAMBA_4_0/source/lib/credentials.c 2005-04-26 07:10:43 UTC (rev 6483) @@ -363,6 +363,11 @@ { char *uname, *p; + if (strcmp(%,data) == 0) { + cli_credentials_set_anonymous(credentials); + return; + } + uname = talloc_strdup(credentials, data); if ((p = strchr_m(uname,'%'))) { *p = 0;
svn commit: samba-web r643 - in trunk/docs: .
Author: jelmer Date: 2005-04-26 07:21:19 + (Tue, 26 Apr 2005) New Revision: 643 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=643 Log: Remove some outdated docs (some parts of these have been moved into the HOWTO before). /smbfs/ still needs updating Removed: trunk/docs/sambay2k.html trunk/docs/security.html Modified: trunk/docs/index.html Changeset: Modified: trunk/docs/index.html === --- trunk/docs/index.html 2005-04-25 20:21:50 UTC (rev 642) +++ trunk/docs/index.html 2005-04-26 07:21:19 UTC (rev 643) @@ -111,9 +111,6 @@ lia href=SambaIntro.htmlAn Introduction to Samba/a/li lia href=http://www.samba.org/cifs/docs/what-is-smb.html;What is SMB?/a/li lia href=http://www.samba.org/cifs/;What is CIFS?/a/li - lia href=security.htmlSome notes about Win95 and WfWg security/a/li - lia href=/samba/smbfssmbmount and the smbfs filesystems/a/li - lia href=sambay2k.htmlSamba Year 2000 (Y2K) issues/a/li /ul h4Translation projects/h4 Deleted: trunk/docs/sambay2k.html === --- trunk/docs/sambay2k.html2005-04-25 20:21:50 UTC (rev 642) +++ trunk/docs/sambay2k.html2005-04-26 07:21:19 UTC (rev 643) @@ -1,87 +0,0 @@ -!--#include virtual=/samba/header.html -- - -H2 align=centerYear 2000 Issues/H2 - -BRp -We are starting to get a lot of Y2K compliance questions. The answer -is an unqualified yes. Samba has no difficulty with dates from now -until well into the next century. However, since Samba is nearly -always used with many other pieces of software to create an SMB -filesharing network it is important to understand the issues. - -H2Server Issues/H2 - -pFirstly, bSamba does not have any Y2K problems/b. Dates are stored -internally in the standard Unix 32 bit time since-1970 format (known -as time_t format). Samba has to manipulate dates in other formats but -these other formats (those that SMB uses) do not have a Y2K problem -either. This is true no matter what platform Samba is running on, even -if the platform does not understand time_t at all. - -pAt least one person has run a Y2K compliance tester over Samba. The -only problem found was that the date format logged in the debug logs -used a strftime() macro which produces a 2 digit year. This didn't -really matter as these logs are never read by a program, they are just -there for humans to read if they want to know who logged in when. This -problem has been fixed in the current release - please don't report -it again! - -pSecondly, bthe SMB protocol that Samba uses does not have a Y2K -problem./b None of the date formats in SMB (and there are several) -are ASCII and none suffer from Y2K rollover. There are lots of other -problems with SMB date handling but Y2K isn't one of them. In some -ways this is just pure luck as date handling is one of the worst -aspects of the SMB protocol (it is truly horrendous!). These other -problems are the same for all implementations of SMB, such as Windows -NT, OS/2 etc. - -pHowever, bthe operating system that you run Samba on emmay/em -have a Y2K problem./b Samba runs on around 40 operating systems from -nearly as many different vendors, from Fujitsu to IBM to -Siemens-Nixdorf and so on. We have no way of knowing what the -behaviour of all of these operating systems will be in the year 2000, -although all users should be trying to find out now. Samba might fail -on some of these systems due to the failure of some essential -underlying service (networking, printing subsystem etc). On Unix (and -most Samba sites run Unix) can take some comfort in the knowledge that -nearly all Unix system utilities do what Samba does and use time_t -date formats which are safe in Y2K. - -pEven under Unix there are some exceptions though, but there is no way -that the Samba Team can know what operating system you are running or -what weird utilities you use that may cause problems. All users should -be making sure that their operating systems and utilities are known to -be Y2K-safe. There are some very intensive efforts going on in the -free software community to make sure that open source products do not -have any problems. With operating systems like Linux, OpenBSD, FreeBSD -and others you can run compliance testers yourself and be as sure as -it is possible to be that your server is safe. - -h2Client Issues/h2 - -pRegardless of how Y2K-safe the server is, bthe clients you use to -access Samba may have problems./b This is in fact the most likely -source of difficulties. If the clients do have a problem then it won't -matter which server you are using (Samba, Windows NT, Syntax etc), you -will hit the same problems. It is likely that any problems you do hit -won't have anything to do with the SMB subsystem in your client, but -it is certainly not guaranteed. - -pThe problems are most likely to be in the
svn commit: samba r6485 - in branches/SAMBA_4_0/source: . build/m4 build/smb_build lib/ldb libads
Author: jelmer Date: 2005-04-26 09:02:00 + (Tue, 26 Apr 2005) New Revision: 6485 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6485 Log: Move LDAP detection M4 file and use it for the standalone ldb build Remove a couple of unused M4 macros. The standalone LDB build will not work until I've figured out what AC_CHECK_LIB_EXT() does exactly (it's Samba-specific) Added: branches/SAMBA_4_0/source/lib/ldb/ldap.m4 Removed: branches/SAMBA_4_0/source/libads/config.m4 Modified: branches/SAMBA_4_0/source/aclocal.m4 branches/SAMBA_4_0/source/build/m4/rewrite.m4 branches/SAMBA_4_0/source/build/smb_build/env.m4 branches/SAMBA_4_0/source/lib/ldb/configure.in Changeset: Sorry, the patch is too large (430 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6485
svn commit: samba-docs r509 - in branches/SAMBA_4: .
Author: jelmer Date: 2005-04-26 10:20:11 + (Tue, 26 Apr 2005) New Revision: 509 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=509 Log: remove obsolete Developers Guide directory Removed: branches/SAMBA_4/Samba-Developers-Guide/ Modified: branches/SAMBA_4/TODO Changeset: Modified: branches/SAMBA_4/TODO === --- branches/SAMBA_4/TODO 2005-04-25 16:05:23 UTC (rev 508) +++ branches/SAMBA_4/TODO 2005-04-26 10:20:11 UTC (rev 509) @@ -21,7 +21,5 @@ tdb functions winregistry functions -restructure and finish developer docs - - Check for grammar errors - More info
svn commit: samba r6486 - in branches/SAMBA_4_0/source/lib/ldb: .
Author: jelmer Date: 2005-04-26 10:58:54 + (Tue, 26 Apr 2005) New Revision: 6486 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6486 Log: Add 'make install' and pkg-config file. Added: branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in branches/SAMBA_4_0/source/lib/ldb/configure.in Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in === --- branches/SAMBA_4_0/source/lib/ldb/Makefile.in 2005-04-26 09:02:00 UTC (rev 6485) +++ branches/SAMBA_4_0/source/lib/ldb/Makefile.in 2005-04-26 10:58:54 UTC (rev 6486) @@ -1,6 +1,11 @@ CC = @CC@ GCOV = @GCOV@ YODL2MAN = @YODL2MAN@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ +includedir = @includedir@ +libdir = @libdir@ +bindir = @bindir@ ifeq ($(WITH_LDAP),1) OPENLDAP_PREFIX=/usr @@ -107,6 +112,12 @@ test: test-tdb test-ldap test-schema +install: all + cp include/ldb.h $(includedir) + cp $(LDB_LIB) $(libdir) + cp $(BINS) $(bindir) + cp ldb.pc $(libdir)/pkgconfig + gcov: $(GCOV) -po ldb_ldap ldb_ldap/*.c 2| tee ldb_ldap.report.gcov $(GCOV) -po ldb_tdb ldb_tdb/*.c 2| tee ldb_tdb.report.gcov Modified: branches/SAMBA_4_0/source/lib/ldb/configure.in === --- branches/SAMBA_4_0/source/lib/ldb/configure.in 2005-04-26 09:02:00 UTC (rev 6485) +++ branches/SAMBA_4_0/source/lib/ldb/configure.in 2005-04-26 10:58:54 UTC (rev 6486) @@ -7,4 +7,4 @@ AC_PATH_PROG(GCOV,gcov) sinclude(ldap.m4) sinclude(config.m4) -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile ldb.pc) Added: branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in === --- branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in 2005-04-26 09:02:00 UTC (rev 6485) +++ branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in 2005-04-26 10:58:54 UTC (rev 6486) @@ -0,0 +1,10 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ + +Name: ldb +Description: An LDAP-like embedded database +Version: 4.0 +Libs: @LIBS@ -L${libdir} -lldb +Cflags: -I${includedir} @CFLAGS@
svn commit: samba r6487 - in branches/SAMBA_4_0/source/lib: ldb tdb
Author: jelmer Date: 2005-04-26 11:10:55 + (Tue, 26 Apr 2005) New Revision: 6487 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6487 Log: Use autoconf for standalone build of tdb Added: branches/SAMBA_4_0/source/lib/tdb/autogen.sh branches/SAMBA_4_0/source/lib/tdb/tdb.pc.in Modified: branches/SAMBA_4_0/source/lib/ldb/autogen.sh Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/autogen.sh === --- branches/SAMBA_4_0/source/lib/ldb/autogen.sh2005-04-26 10:58:54 UTC (rev 6486) +++ branches/SAMBA_4_0/source/lib/ldb/autogen.sh2005-04-26 11:10:55 UTC (rev 6487) @@ -1,6 +1,6 @@ #!/bin/sh -(autoheader autoconf) || exit 1 +autoconf || exit 1 echo Now run ./configure and then make. exit 0 Added: branches/SAMBA_4_0/source/lib/tdb/autogen.sh === --- branches/SAMBA_4_0/source/lib/tdb/autogen.sh2005-04-26 10:58:54 UTC (rev 6486) +++ branches/SAMBA_4_0/source/lib/tdb/autogen.sh2005-04-26 11:10:55 UTC (rev 6487) @@ -0,0 +1,7 @@ +#!/bin/sh + +autoconf || exit 1 + +echo Now run ./configure and then make. +exit 0 + Property changes on: branches/SAMBA_4_0/source/lib/tdb/autogen.sh ___ Name: svn:executable + * Added: branches/SAMBA_4_0/source/lib/tdb/tdb.pc.in === --- branches/SAMBA_4_0/source/lib/tdb/tdb.pc.in 2005-04-26 10:58:54 UTC (rev 6486) +++ branches/SAMBA_4_0/source/lib/tdb/tdb.pc.in 2005-04-26 11:10:55 UTC (rev 6487) @@ -0,0 +1,10 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ + +Name: tdb +Description: A trivial database +Version: 4.0 +#Libs: @LIBS@ -L${libdir} -ltdb +Cflags: -I${includedir} @CFLAGS@
svn commit: samba r6488 - in branches/SAMBA_3_0/source/utils: .
Author: vlendec Date: 2005-04-26 12:26:32 + (Tue, 26 Apr 2005) New Revision: 6488 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6488 Log: net rpc printer migrate should not try to set stuff that's not there. This fixes two segfaults. Thanks to Karolin Segger [EMAIL PROTECTED] to find the bug and test the patch. Volker Modified: branches/SAMBA_3_0/source/utils/net_rpc_printer.c Changeset: Modified: branches/SAMBA_3_0/source/utils/net_rpc_printer.c === --- branches/SAMBA_3_0/source/utils/net_rpc_printer.c 2005-04-26 11:10:55 UTC (rev 6487) +++ branches/SAMBA_3_0/source/utils/net_rpc_printer.c 2005-04-26 12:26:32 UTC (rev 6488) @@ -1960,6 +1960,12 @@ } + if (strlen(drivername) == 0) { + DEBUGADD(1,(Did not get driver for printer %s\n, + printername)); + goto done; + } + /* setdriver dst */ init_unistr(info_ctr_dst.printers_2-drivername, drivername); @@ -2297,29 +2303,35 @@ DEBUG(3,(republished printer\n)); } - /* copy devmode (info level 2) */ - ctr_dst.printers_2-devmode = TALLOC_MEMDUP(mem_ctx, - ctr_enum.printers_2[i].devmode, sizeof(DEVICEMODE)); + if (ctr_enum.printers_2[i].devmode != NULL) { - /* do not copy security descriptor (we have another command for that) */ - ctr_dst.printers_2-secdesc = NULL; + /* copy devmode (info level 2) */ + ctr_dst.printers_2-devmode = + TALLOC_MEMDUP(mem_ctx, + ctr_enum.printers_2[i].devmode, + sizeof(DEVICEMODE)); + /* do not copy security descriptor (we have another +* command for that) */ + ctr_dst.printers_2-secdesc = NULL; + #if 0 - if (asprintf(devicename, %s\\%s, longname, printername) 0) { - nt_status = NT_STATUS_NO_MEMORY; - goto done; - } + if (asprintf(devicename, %s\\%s, longname, +printername) 0) { + nt_status = NT_STATUS_NO_MEMORY; + goto done; + } - init_unistr(ctr_dst.printers_2-devmode-devicename, devicename); + init_unistr(ctr_dst.printers_2-devmode-devicename, + devicename); #endif - if (!net_spoolss_setprinter(cli_dst, mem_ctx, hnd_dst, - level, ctr_dst)) - goto done; + if (!net_spoolss_setprinter(cli_dst, mem_ctx, hnd_dst, + level, ctr_dst)) + goto done; - DEBUGADD(1,(\tSetPrinter of DEVICEMODE succeeded\n)); + DEBUGADD(1,(\tSetPrinter of DEVICEMODE succeeded\n)); + } - - /* STEP 2: COPY REGISTRY VALUES */ /* please keep in mind that samba parse_spools gives horribly
svn commit: samba r6490 - in branches/SAMBA_3_0/source/printing: .
Author: jerry Date: 2005-04-26 14:14:16 + (Tue, 26 Apr 2005) New Revision: 6490 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6490 Log: BUG 1998: patch from Olaf Imig [EMAIL PROTECTED]; fix byte ordering bug when storing 16-bit RAP print job ids Modified: branches/SAMBA_3_0/source/printing/printing.c Changeset: Modified: branches/SAMBA_3_0/source/printing/printing.c === --- branches/SAMBA_3_0/source/printing/printing.c 2005-04-26 12:26:52 UTC (rev 6489) +++ branches/SAMBA_3_0/source/printing/printing.c 2005-04-26 14:14:16 UTC (rev 6490) @@ -67,6 +67,7 @@ uint16 rap_jobid; TDB_DATA data, key; struct rap_jobid_key jinfo; + uint8 buf[2]; DEBUG(10,(pjobid_to_rap: called.\n)); @@ -96,7 +97,8 @@ rap_jobid = ++next_rap_jobid; if (rap_jobid == 0) rap_jobid = ++next_rap_jobid; - data.dptr = (char *)rap_jobid; + SSVAL(buf,0,rap_jobid); + data.dptr = buf; data.dsize = sizeof(rap_jobid); tdb_store(rap_tdb, key, data, TDB_REPLACE); tdb_store(rap_tdb, data, key, TDB_REPLACE); @@ -109,13 +111,15 @@ BOOL rap_to_pjobid(uint16 rap_jobid, fstring sharename, uint32 *pjobid) { TDB_DATA data, key; + uint8 buf[2]; DEBUG(10,(rap_to_pjobid called.\n)); if (!rap_tdb) return False; - key.dptr = (char *)rap_jobid; + SSVAL(buf,0,rap_jobid); + key.dptr = buf; key.dsize = sizeof(rap_jobid); data = tdb_fetch(rap_tdb, key); if ( data.dptr data.dsize == sizeof(struct rap_jobid_key) ) @@ -140,6 +144,7 @@ TDB_DATA key, data; uint16 rap_jobid; struct rap_jobid_key jinfo; + uint8 buf[2]; DEBUG(10,(rap_jobid_delete: called.\n)); @@ -165,7 +170,8 @@ rap_jobid = SVAL(data.dptr, 0); SAFE_FREE(data.dptr); - data.dptr = (char *)rap_jobid; + SSVAL(buf,0,rap_jobid); + data.dptr=buf; data.dsize = sizeof(rap_jobid); tdb_delete(rap_tdb, key); tdb_delete(rap_tdb, data);
svn commit: samba r6491 - in branches/SAMBA_3_0/source/rpc_parse: .
Author: jerry Date: 2005-04-26 14:42:48 + (Tue, 26 Apr 2005) New Revision: 6491 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6491 Log: BUG 2653: patch from Olaf Imig [EMAIL PROTECTED]; allocate memory for user1* in make_spoolss_q_open_printer_ex() Modified: branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c Changeset: Modified: branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c === --- branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c 2005-04-26 14:14:16 UTC (rev 6490) +++ branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c 2005-04-26 14:42:48 UTC (rev 6491) @@ -911,7 +911,8 @@ q_u-user_switch = 1; - q_u-user_ctr.level = 1; + q_u-user_ctr.level = 1; + q_u-user_ctr.user.user1= TALLOC_P( get_talloc_ctx(), SPOOL_USER_1 ); q_u-user_ctr.user.user1-size = strlen(clientname) + strlen(user_name) + 10; q_u-user_ctr.user.user1-build = 1381; q_u-user_ctr.user.user1-major = 2;
svn commit: samba r6492 - in trunk/source: printing rpc_parse utils
Author: jerry Date: 2005-04-26 14:49:11 + (Tue, 26 Apr 2005) New Revision: 6492 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6492 Log: merge Olaf's fixes from the 3.0 tree Modified: trunk/source/printing/printing.c trunk/source/rpc_parse/parse_spoolss.c trunk/source/utils/net_groupmap.c Changeset: Modified: trunk/source/printing/printing.c === --- trunk/source/printing/printing.c2005-04-26 14:42:48 UTC (rev 6491) +++ trunk/source/printing/printing.c2005-04-26 14:49:11 UTC (rev 6492) @@ -67,6 +67,7 @@ uint16 rap_jobid; TDB_DATA data, key; struct rap_jobid_key jinfo; + uint8 buf[2]; DEBUG(10,(pjobid_to_rap: called.\n)); @@ -96,7 +97,8 @@ rap_jobid = ++next_rap_jobid; if (rap_jobid == 0) rap_jobid = ++next_rap_jobid; - data.dptr = (char *)rap_jobid; + SSVAL(buf,0,rap_jobid); + data.dptr = buf; data.dsize = sizeof(rap_jobid); tdb_store(rap_tdb, key, data, TDB_REPLACE); tdb_store(rap_tdb, data, key, TDB_REPLACE); @@ -109,13 +111,15 @@ BOOL rap_to_pjobid(uint16 rap_jobid, fstring sharename, uint32 *pjobid) { TDB_DATA data, key; + uint8 buf[2]; DEBUG(10,(rap_to_pjobid called.\n)); if (!rap_tdb) return False; - key.dptr = (char *)rap_jobid; + SSVAL(buf,0,rap_jobid); + key.dptr = buf; key.dsize = sizeof(rap_jobid); data = tdb_fetch(rap_tdb, key); if ( data.dptr data.dsize == sizeof(struct rap_jobid_key) ) @@ -140,6 +144,7 @@ TDB_DATA key, data; uint16 rap_jobid; struct rap_jobid_key jinfo; + uint8 buf[2]; DEBUG(10,(rap_jobid_delete: called.\n)); @@ -165,7 +170,8 @@ rap_jobid = SVAL(data.dptr, 0); SAFE_FREE(data.dptr); - data.dptr = (char *)rap_jobid; + SSVAL(buf,0,rap_jobid); + data.dptr=buf; data.dsize = sizeof(rap_jobid); tdb_delete(rap_tdb, key); tdb_delete(rap_tdb, data); Modified: trunk/source/rpc_parse/parse_spoolss.c === --- trunk/source/rpc_parse/parse_spoolss.c 2005-04-26 14:42:48 UTC (rev 6491) +++ trunk/source/rpc_parse/parse_spoolss.c 2005-04-26 14:49:11 UTC (rev 6492) @@ -911,7 +911,8 @@ q_u-user_switch = 1; - q_u-user_ctr.level = 1; + q_u-user_ctr.level = 1; + q_u-user_ctr.user.user1= TALLOC_P( get_talloc_ctx(), SPOOL_USER_1 ); q_u-user_ctr.user.user1-size = strlen(clientname) + strlen(user_name) + 10; q_u-user_ctr.user.user1-build = 1381; q_u-user_ctr.user.user1-major = 2; Modified: trunk/source/utils/net_groupmap.c === --- trunk/source/utils/net_groupmap.c 2005-04-26 14:42:48 UTC (rev 6491) +++ trunk/source/utils/net_groupmap.c 2005-04-26 14:49:11 UTC (rev 6492) @@ -3,7 +3,8 @@ * RPC Pipe client / server routines * Copyright (C) Andrew Tridgell 1992-2000, * Copyright (C) Jean Franois Micouleau 1998-2001. - * Copyright (C) Gerald Carter2003. + * Copyright (C) Gerald Carter2003, + * Copyright (C) Volker Lendecke 2004 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
svn commit: samba-web r644 - in trunk/news: static style
Author: deryck Date: 2005-04-26 18:37:54 + (Tue, 26 Apr 2005) New Revision: 644 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=644 Log: Fixes to the linux.conf.au slideshow -- Thin out the pics a buit and do some formatting fixes for IE. deryck Modified: trunk/news/static/linux-conf-au-pics.html trunk/news/style/news.css Changeset: Modified: trunk/news/static/linux-conf-au-pics.html === --- trunk/news/static/linux-conf-au-pics.html 2005-04-26 07:21:19 UTC (rev 643) +++ trunk/news/static/linux-conf-au-pics.html 2005-04-26 18:37:54 UTC (rev 644) @@ -6,42 +6,29 @@ quizPics = new Array; quizPics[0] = /samba/news/images/quiz-pics/img_1610.jpg; quizPics[1] = /samba/news/images/quiz-pics/img_1611.jpg; -quizPics[2] = /samba/news/images/quiz-pics/img_1613.jpg; -quizPics[3] = /samba/news/images/quiz-pics/img_1614.jpg; -quizPics[4] = /samba/news/images/quiz-pics/img_1617.jpg; -quizPics[5] = /samba/news/images/quiz-pics/img_1630.jpg; -quizPics[6] = /samba/news/images/quiz-pics/img_1636.jpg; -quizPics[7] = /samba/news/images/quiz-pics/img_1637.jpg; -quizPics[8] = /samba/news/images/quiz-pics/img_1639.jpg; -quizPics[9] = /samba/news/images/quiz-pics/img_1640.jpg; -quizPics[10] = /samba/news/images/quiz-pics/img_1641.jpg; -quizPics[11] = /samba/news/images/quiz-pics/img_1643.jpg; -quizPics[12] = /samba/news/images/quiz-pics/img_1644.jpg; -quizPics[13] = /samba/news/images/quiz-pics/img_1645.jpg; -quizPics[14] = /samba/news/images/quiz-pics/img_1647.jpg; -quizPics[15] = /samba/news/images/quiz-pics/img_1648.jpg; -quizPics[16] = /samba/news/images/quiz-pics/img_1650.jpg; -quizPics[17] = /samba/news/images/quiz-pics/img_1651.jpg; -quizPics[18] = /samba/news/images/quiz-pics/img_1653.jpg; -quizPics[19] = /samba/news/images/quiz-pics/img_1655.jpg; -quizPics[20] = /samba/news/images/quiz-pics/img_1656.jpg; -quizPics[21] = /samba/news/images/quiz-pics/img_1659.jpg; -quizPics[22] = /samba/news/images/quiz-pics/img_1660.jpg; -quizPics[23] = /samba/news/images/quiz-pics/img_1661.jpg; -quizPics[24] = /samba/news/images/quiz-pics/img_1662.jpg; -quizPics[25] = /samba/news/images/quiz-pics/img_1664.jpg; -quizPics[26] = /samba/news/images/quiz-pics/img_1665.jpg; -quizPics[27] = /samba/news/images/quiz-pics/img_1668.jpg; -quizPics[28] = /samba/news/images/quiz-pics/img_1671.jpg; -quizPics[29] = /samba/news/images/quiz-pics/img_1674.jpg; -quizPics[30] = /samba/news/images/quiz-pics/img_1677.jpg; -quizPics[31] = /samba/news/images/quiz-pics/img_1678.jpg; -quizPics[32] = /samba/news/images/quiz-pics/img_1679.jpg; -quizPics[33] = /samba/news/images/quiz-pics/img_1681.jpg; -quizPics[34] = /samba/news/images/quiz-pics/img_1684.jpg; -quizPics[35] = /samba/news/images/quiz-pics/img_1686.jpg; -quizPics[36] = /samba/news/images/quiz-pics/img_1689.jpg; -quizPics[37] = /samba/news/images/quiz-pics/img_1694.jpg; +quizPics[2] = /samba/news/images/quiz-pics/img_1617.jpg; +quizPics[3] = /samba/news/images/quiz-pics/img_1630.jpg; +quizPics[4] = /samba/news/images/quiz-pics/img_1637.jpg; +quizPics[5] = /samba/news/images/quiz-pics/img_1639.jpg; +quizPics[6] = /samba/news/images/quiz-pics/img_1640.jpg; +quizPics[7] = /samba/news/images/quiz-pics/img_1645.jpg; +quizPics[8] = /samba/news/images/quiz-pics/img_1647.jpg; +quizPics[9] = /samba/news/images/quiz-pics/img_1659.jpg; +quizPics[10] = /samba/news/images/quiz-pics/img_1660.jpg; +quizPics[11] = /samba/news/images/quiz-pics/img_1661.jpg; +quizPics[12] = /samba/news/images/quiz-pics/img_1662.jpg; +quizPics[13] = /samba/news/images/quiz-pics/img_1664.jpg; +quizPics[16] = /samba/news/images/quiz-pics/img_1665.jpg; +quizPics[14] = /samba/news/images/quiz-pics/img_1671.jpg; +quizPics[15] = /samba/news/images/quiz-pics/img_1674.jpg; +quizPics[16] = /samba/news/images/quiz-pics/img_1677.jpg; +quizPics[17] = /samba/news/images/quiz-pics/img_1678.jpg; +quizPics[18] = /samba/news/images/quiz-pics/img_1679.jpg; +quizPics[19] = /samba/news/images/quiz-pics/img_1681.jpg; +quizPics[20] = /samba/news/images/quiz-pics/img_1684.jpg; +quizPics[21] = /samba/news/images/quiz-pics/img_1686.jpg; +quizPics[22] = /samba/news/images/quiz-pics/img_1689.jpg; +quizPics[23] = /samba/news/images/quiz-pics/img_1694.jpg; allPics = quizPics.length - 1; curPic = 0; Modified: trunk/news/style/news.css === --- trunk/news/style/news.css 2005-04-26 07:21:19 UTC (rev 643) +++ trunk/news/style/news.css 2005-04-26 18:37:54 UTC (rev 644) @@ -139,6 +139,8 @@ border:1px groove #6878CD; } .pic_nav { + position:relative; + top:10px; margin:auto; width:90%; } @@ -151,3