typo in samba2.spec.tmpl
couple of stray chars at the beginning of the file keep the rpm build script from working. brad
Re: Heads up warning on 2.2.5
On Fri, 2002-06-07 at 16:00, Gerald Carter wrote: On 7 Jun 2002, Bradley W. Langhorst wrote: The main things we are trying to straightened out are * some missing documentation, i think these params are without docs addprinter command deleteprinter command I know these are documented. the're in the source as addprinter command but in the doc file as add printer command (which is why my script doesn't think they exist) admin log L821 ssl ca certfile L804 max packet L857 groupname map L954 are you looking in SAMBA_2_2? wtmp directory packet size mangling method alternate permissions force directory security mode -valid L1048 ssl ca certdir tdb passwd file those are all valid parms in loadparm.c ie - they are in the param struct i've put the some of the line numbers for those parms above examples/VFS/recycle/ that dir does not exist in my tree probably because it is empty in cvsweb (but there is stuff int the attic) i'll be happy to submit a patch reconciling these inconsistencies but i don't know if you want them gone from the param struct or added to the man page. thanks! brad
Re: [Samba] swat seems broken in HEAD
i've just recompiled and tested - looks good both swat and testparm seem to work correctly brad On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote: The swat/testparm bug is in lp_save_defaults(), a little used (swat/testparm only) function. An attempted strdup() of a NULL string is segfaulting. I gave Brad a patch to try, I'll test it some more, there're 2 other string conditions I want to test, then I'll send the patch in. -- Billy O'Connor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] swat seems broken in HEAD
(Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic07625.pcx) i've just recompiled and tested - looks good both swat and testparm seem to work correctly brad On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote: The swat/testparm bug is in lp_save_defaults(), a little used (swat/testparm only) function. An attempted strdup() of a NULL string is segfaulting. I gave Brad a patch to try, I'll test it some more, there're 2 other string conditions I want to test, then I'll send the patch in. -- Billy O'Connor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba pic07625.pcx Description: Binary data
Re: [Samba] swat seems broken in HEAD
(Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic09284.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic07625.pcx) i've just recompiled and tested - looks good both swat and testparm seem to work correctly brad On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote: The swat/testparm bug is in lp_save_defaults(), a little used (swat/testparm only) function. An attempted strdup() of a NULL string is segfaulting. I gave Brad a patch to try, I'll test it some more, there're 2 other string conditions I want to test, then I'll send the patch in. -- Billy O'Connor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba pic07625.pcx Description: Binary data pic09284.pcx Description: Binary data
Re: [Samba] swat seems broken in HEAD
(Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic08942.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic09284.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic07625.pcx) i've just recompiled and tested - looks good both swat and testparm seem to work correctly brad On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote: The swat/testparm bug is in lp_save_defaults(), a little used (swat/testparm only) function. An attempted strdup() of a NULL string is segfaulting. I gave Brad a patch to try, I'll test it some more, there're 2 other string conditions I want to test, then I'll send the patch in. -- Billy O'Connor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba pic07625.pcx Description: Binary data pic09284.pcx Description: Binary data pic08942.pcx Description: Binary data
Re: [Samba] swat seems broken in HEAD
hey - what's up with those embedded images - i didn't send those. looks like the same thing happened to some other guy a few minutes ago. something fishy here... i'm using evolution 1.0.3 for mua brad On Thu, 2002-06-06 at 13:30, Bradley W. Langhorst wrote: (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic09284.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic07625.pcx) i've just recompiled and tested - looks good both swat and testparm seem to work correctly brad On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote: The swat/testparm bug is in lp_save_defaults(), a little used (swat/testparm only) function. An attempted strdup() of a NULL string is segfaulting. I gave Brad a patch to try, I'll test it some more, there're 2 other string conditions I want to test, then I'll send the patch in. -- Billy O'Connor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] swat seems broken in HEAD
(Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic04173.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic08942.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic09284.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic07625.pcx) i've just recompiled and tested - looks good both swat and testparm seem to work correctly brad On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote: The swat/testparm bug is in lp_save_defaults(), a little used (swat/testparm only) function. An attempted strdup() of a NULL string is segfaulting. I gave Brad a patch to try, I'll test it some more, there're 2 other string conditions I want to test, then I'll send the patch in. -- Billy O'Connor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba pic07625.pcx Description: Binary data pic09284.pcx Description: Binary data pic08942.pcx Description: Binary data pic04173.pcx Description: Binary data
Re: [Samba] swat seems broken in HEAD
(Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 02:20 PM pic00216.pcx) hey - what's up with those embedded images - i didn't send those. looks like the same thing happened to some other guy a few minutes ago. something fishy here... i'm using evolution 1.0.3 for mua brad On Thu, 2002-06-06 at 13:30, Bradley W. Langhorst wrote: (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic09284.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic07625.pcx) i've just recompiled and tested - looks good both swat and testparm seem to work correctly brad On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote: The swat/testparm bug is in lp_save_defaults(), a little used (swat/testparm only) function. An attempted strdup() of a NULL string is segfaulting. I gave Brad a patch to try, I'll test it some more, there're 2 other string conditions I want to test, then I'll send the patch in. -- Billy O'Connor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba pic00216.pcx Description: Binary data
Re: [Samba] swat seems broken in HEAD
(Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 02:20 PM pic07488.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 02:20 PM pic00216.pcx) hey - what's up with those embedded images - i didn't send those. looks like the same thing happened to some other guy a few minutes ago. something fishy here... i'm using evolution 1.0.3 for mua brad On Thu, 2002-06-06 at 13:30, Bradley W. Langhorst wrote: (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic09284.pcx) (Embedded image moved Bradley W. Langhorst [EMAIL PROTECTED] to file: 06/06/2002 01:30 PM pic07625.pcx) i've just recompiled and tested - looks good both swat and testparm seem to work correctly brad On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote: The swat/testparm bug is in lp_save_defaults(), a little used (swat/testparm only) function. An attempted strdup() of a NULL string is segfaulting. I gave Brad a patch to try, I'll test it some more, there're 2 other string conditions I want to test, then I'll send the patch in. -- Billy O'Connor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba pic00216.pcx Description: Binary data pic07488.pcx Description: Binary data
[Samba] swat seems broken in HEAD
it just says /usr/sbin/swat.new Aborted when i run it from the command line. nothing i can see in the logs... The swat binary from a 2 week old head now (with the rest of the installation from today's head) seems to work okay. what's going on with swat - did i screw up the build? Are others also having problems? (nothing in the marc) brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] swat seems broken in HEAD
On Wed, 2002-06-05 at 18:53, Billy O'Connor wrote: Bradley, is the new testparm program from the same build getting a segment violation? it segfaults - maybe i'm missing a dependency or something? brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba w/ multiple network cards/machines
I have no idea why this doesn't work. i think maybe your clients are not using the wins server make sure you point those fields at the samba box. You need it because all your clients are not on the same subnet the clients all are set to use the wins server in their TCP/IP properties for the ethernet card that is all I need to do to set them up isn't it? hmm well that changes things a bit. do you have anything in the log when you do a net use command? If not I'd start looking at your routing setup. You said you can ping right? i've not done this before so I won't be much help... brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] unix/nt-pdc group mapping
On Fri, 2002-05-03 at 05:57, Georg Lutz wrote: On 2002-05-02, Bradley W. Langhorst wrote: On Thu, 2002-05-02 at 08:09, Georg Lutz wrote: Hi, I have problems with a Samba-PDC (2.2.3a) and nt/w2k-clients. To adjust local nt/w2k security i have to join some unix-pdc-groups to the local groups. you need samba 3 for this So the statement on http://www.samba.org/development.html --- * Support for acting as a Windows NT 4.0 Domain Controller. The initial * release will mostly likely include the following features: Release 1: * User and group enumeration by domain member services such as * assigning users to NTFS ACLs and share permissions. * Support for the full range of user profile settings such as * valid logon hours, password expiration, profile location, home * directory, etc... --- is not valid? i'm not an expert and maybe i misunderstand you question but I think you are looking for domain groups - which are not listed in that statement. You can add domain users, and the two fake groups but finer grained domain groups are not supported. You can use unix groups (and ACLs) for permission control on the server just not on the client. brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba connecting to a Samba PDC
As I'm running on two different platforms, Linux and MacOS-X, I'm not sure what my options are. I could get NIS+ installed on the Linux machine, but I'm not sure whether or not it will work on the Mac system. Any thoughts on what I might be able to do? ldap bra -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing from linux to windows shared printer
On Fri, 2002-05-03 at 17:17, Miguel Arellano (ht) wrote: Hello ... I've configured a printer in linux using printconf-gui as a windows shared printer via smb. But when I send a job it doesn't print ... Any comments? I'm using RH 7.1 with samba that came bound with RH CDs. Thanks a lot ... This is not a problem with samba - instead it is a problem with smbclient. That might help you in your google search. read your log files, look in your queue directory it doesn't print is not much information brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] new to samba
your email is hard for me to read... samba can print to windows clients using smbclient - but you have to install the proper drivers for the printer on the samba machine to print directly from linux. If you want other windows clients to print thru samba you can just pass their already printer specific commands straight through. Samba's security model is the same as unix's security model. If you want multiple groups to have access to a folder add all the users of those groups to a new supergroup that will own the folder. if you need Access Control Lists then you need and XFS filesystem or ext2+bestbits patches to store that info. Samba will handle either case (if compiled --with-acl-support) enjoy samba -it'll save you a bundle over the microsoft stuff. brad On Wed, 2002-05-01 at 22:36, John Strohmeyer wrote: Hello people! I'm fairly new to Linux and checking it out for possible use by my clients(small city governments). My main interest is using Linux as a file and printer server in a Windows client environment(win98, NT, win2k). I found out rather quickly that I needed to become familiar w/Samba. I have a couple questions that are probably routine for someone out there. The first is regarding printers that are already shared on a Windows client PC. Can I leave such a printer in place and set it up on the Samba server to be used by other Windows clients? I had some success w/this but when I print a test page most of the text was random characters( a driver issue?). The second ? is about folder security. It seems that only one group of users can be associated with a particular folder, can multiple groups, each having different rights, be set up for the same folder? Can one group of users be a member of another group? Thanks for any insight. - John -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] VPN+2.2.3a+LDAP
Sorry I missed your response until now... Thanks for your thoughts Bradley. I have another bunch of questions which you may be able to enlighten me on :) Am I right in thinking that if I carried out idea 3, with each site having its own unique domain, that the user homes and profiles directories should be specified with an absolute path in the LDAP server? For example, if Joe was logging on to DOMAIN1, should the LDAP directory explicitly say \\DOMAIN1\JOE as his home directory (smbHome), and \\DOMAIN1\JOE\profile for his profile (profilePath)? I would like to have it so that any user could log on at any site and still keep one unique home dir on the Samba server at the site he uses most - so that if in one particular week Joe was at 6 different sites he wouldnt have a profile and home directory at each site - he would just use the one at his main site, DOMAIN1 (I realise this would mean transmitting large amounts of data across a relatively slow WAN). that seems reasonable - however i think you mean \\PROFILESERVER1\JOE rather than \\DOMAIN1\JOE That implies that all these domain controllers can access each other's namespaces (i'm not sure you can do that) you might have to put \\fqdn_of_profile_server\profiles\%u into the ldap rather than the wins name of the server (fqdn = fully qualified domain name) Is it possible for a replicated LDAP database to be used with Samba in this way which allows anyone to log on anywhere to any domain in a large network, yet still keep a unique 'home' ? i've not done it myself - but it should be possible to point each domain controller at an ldap server on localhost and keep all those in sync using the ldap tools. the replication stuff should be transparent to samba brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] unix/nt-pdc group mapping
On Thu, 2002-05-02 at 08:09, Georg Lutz wrote: Hi, I have problems with a Samba-PDC (2.2.3a) and nt/w2k-clients. To adjust local nt/w2k security i have to join some unix-pdc-groups to the local groups. you need samba 3 for this brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] [print$]
On Thu, 2002-05-02 at 17:41, Jacob J. Lee wrote: Which drivers fall in the category W32X86? Is that for WinNT/Win2K/WinXP? yup Which drivers fall in the category WIN40? Is that for Win95/Win98/WinME? yup Under my print$ share I created two directories (W32X86, WIN40), and I would like to know which drivers I need to use correctly. you have to make those directories by hand share print$ then use the add printer wizard on an NT box to upload drivers. you can't just copy driver into those directories. see the howto collection -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
script to find undocumented params
I wrote a little perl script to find those params that have no documentation I don't know what most of them do but i'll get cracking on finding out here's the output: display charset hostname lookups ldap user suffix add group script realm wins partners addprinter command unix charset lock spin time admin log inherit acls add user to group script ssl ca certfile winbind enum groups max packet unicode delete user from group script wtmp directory packet size mangling method alternate permissions force directory security mode ads server paranoid server security -valid ssl ca certdir lock spin count winbind enum users use spnego delete group script deleteprinter command ldap machine suffix ntlm auth dos charset here's the script - in case somebody else wants it #!/usr/bin/perl -w #reads in the list of parameters from the source #compares this list to the list of parms documented in the docbook source #prints out the names of the parameters that are in need of documentation my $doc_file = ./docs/docbook/manpages/smb.conf.5.sgml; my $source_file = ./source/param/loadparm.c; my $ln; my %params; open(SOURCE, $source_file) || die Unable to open $source_file for input: $!\n; open(DOC, $doc_file) || die Unable to open $doc_file for input: $!\n; while ($ln= SOURCE) { last if $ln =~ m/^static\ struct\ parm_struct\ parm_table.*/; } #burn through the preceding lines while ($ln = SOURCE) { last if $ln =~ m/^\s*\}\;\s*$/; #pull in the param names only next if $ln =~ m/.*P_SEPARATOR.*/; $ln =~ m/.*\(.*)\.*/; $params{lc($1)}='not_found'; #not case sensitive } close SOURCE; #now read in the params list from the docs doclines = DOC; foreach $ln (grep (/\anchor\ id\=/, doclines)) { $ln =~ m/^.*\anchor\ id\=\.*\\\s*(?:\.*?\)*\s*(.*?)(?:\s*\(?[S,G]?\)?\s*(\\/term\)?){1}\s*$/; #print got: $1 from: $ln; if (exists $params{lc($1)}) { $params{$1} = 'found'; } } foreach (keys %params) { print $_\n if $params{$_} eq 'not_found'; }
Re: [Samba] VPN+2.2.3a+LDAP
On Mon, 2002-04-29 at 22:26, Philip Burrow wrote: Hi, I'm after some clarification on a concept I'm toying with, the big question being is it feasible to do this, and are there any things I ought to consider. What I'm after is domain authentication across a multi-subnet VPN. I figured there are three ways of doing this, based on my limited knowledge of Samba (version 2.2.3a): 1. Have a single Samba PDC to control the entire VPN (up to 10 remote sites) using a single LDAP server to authenticate users. this will mean that all profiles and authentication goes over the vpn probably not a good idea (as you say below) 2. Have a Samba server at each site as some sort of pseudo-BDC, all authenticating with a single LDAP server. again - all authentication goes over the wan 3. Have a Samba PDC at each site controlling a domain of its own, but all using the same LDAP server. still the same problem I think you should modify idea 3 by setting up replicated LDAP on the PDC (or another machine) at each site. That way everybody can log in even if the lan is down (though the distributed ldap dbs might diverge if your wan is down for a long time. brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba As PDC
On Tue, 2002-04-30 at 08:23, Ayman M. Galal wrote: Hi all, I'm just newbie in samba server. I want to replace all windows2000 server in my network with samba,but i get read some papers on NET that said the samba cann't work as PDC like M$ windows ,for that reason they make Samba TNG.and that project is delayed and it seems it will stop. you're reading an old document many features of TNG are wrapped into the upcoming samba3 what i need to know is there any one from you used samba as PDC server inplace of windowds2000 server,also use windows9x and windows2000 prof. and windows 2000 server as client to that samba server. i do this Also is there any replace to DFS on windows 2000 server on Samba or how i can make some thing like that DFS in Linux Box . yes - this is possible according to the docs, but i've not done it myself -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] can't get an XP machine to join my samba3 PDC's domain
I think i've got the new add machine script working since the user is created okay here is the relevant part of my conf file - workgroup = LAUELAB netbios name = BITC server string = BITC/CAMIS Samba Server passdb backend = ldapsam passwd program = /usr/sbin/smbldap-passwd.pl %u username map = /etc/samba/smbusers unix password sync = Yes log level = 10 syslog = 0 log file = /var/log/samba/log.smbd.%m max log size = 5 time server = Yes total print jobs = 10 add user script = /usr/sbin/smbldap-useradd.pl -a -m %u delete user script = /usr/sbin/smbldap-userdel.pl %u add group script = /usr/sbin/smbldap-groupadd.pl %g delete group script = /usr/sbin/smbldap-userdel.pl %g add machine script = /usr/sbin/smbldap-useradd.pl -w %u logon script = logon.cmd logon path = \\bitc\profiles\%u logon drive = H: logon home = \\bitc\%U domain logons = Yes os level = 64 preferred master = True domain master = True dns proxy = No wins server = 132.177.44.30 ldap suffix = dc=bitc,dc=unh,dc=edu ldap machine suffix = dc=bitc,dc=unh,dc=edu ldap user suffix = dc=bitc,dc=unh,dc=edu ldap admin dn = cn=ldapadmin,dc=bitc,dc=unh,dc=edu ldap ssl = no printer admin = root, bwlang hosts allow = 132.177.44.0/255.255.252.0 printing = lprng has anybody actually done this with samba3? I have a level 10 log but its 10k lines so i won't post it here unless somebody wants it the message on the client is There is not user session key for the specified logon session thanks! brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP connection problem (start-up only)
I can't read your mesage -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Question on samba as PDC and fileserver
On Mon, 2002-04-29 at 16:09, Chris Mason wrote: For a project I am working on I have to configure a Redhat 7.2 server as the file server and PDC for a small company network of 12 workstations and a couple of network printers. The client was happy to have a Linux server as it will provide IMAP, DNS, and tape backup of the email and home directories. My question is, how well is Samba working as a PDC, it works great - it's just missing the domain groups in 2.2.3a how should I configure the network so that Samba authenticates the users add the users to the unix machine and to smbpasswd (see the howto collection) and provides name resolution for the Windows machines. Just enable wins support, and feed it to the clients in your dhcp configuration. Anything else to be aware of, any gotchas? follow the howto and you should be fine - if the clients are XP or W2Ksp2 learn about the signorseal reg change. brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
overriding dyn_CONFIGFILE in pdbedit with command line parameter
I decided to modify pdbedit to handle another command line parameter -c /pathto/smb.conf I've got that working - but I'm not sure it's safe Is it reasonable to expect the popt stuff to give me back null terminated string? if so then find a simple patch below are attachments not accepted by the listserver - i sent this twice before but never saw anything on the list brad diff -r1.43 pdbedit.c 411a412 static char *configfile = NULL; 433a435 {configfile, c,POPT_ARG_STRING,configfile,0,use the given path to the smb.conf file,NULL}, 441a444,451 pc = poptGetContext(NULL, argc, (const char **) argv, long_options, POPT_CONTEXT_KEEP_FIRST); while((opt = poptGetNextOpt(pc)) != -1); if (configfile) { safe_strcpy(dyn_CONFIGFILE,configfile, strlen(configfile)); /*override the default config file*/ } 450,451d459 pc = poptGetContext(NULL, argc, (const char **) argv, long_options, POPT_CONTEXT_KEEP_FIRST); 453d460 while((opt = poptGetNextOpt(pc)) != -1);
RE: [Samba] file permissions
you need to join admin and joe to the smbusers group and set the permissions on user1 and user2 to at least 775 for that to happen. Does this mean add them to the admins group? I have already done that, if it means something different can you please give more detailed explanation. nope i was saying you should make all of these user's files write accessable to each other - but in light of your comments below i don't think that is what you want. I think that is an unusual configuration though - most users have exclusive write access to their home dirs (only root can also write there) This unusual config may be because Im looking at things from a windoze network poing of view. Take a small office situation for example: an office manager and some workers. The workers need only access to thier directories, but the office manage may need to save files for the workers to correct or retype or what ever. What would be the prefered way of setting groups and permissions for a situation loke this? I think the usual way is to put users into their own group and managers into their own group the user directories would be owned by the users but the group is that of the managers That way no user can touch another user's files. Using your example drwxr xr x admin admins admin drwxr xr x joe admins joe drwxrwxr x user1 admins user1 drwxrwxr x user2 admins user2 if you need a place for members of smbusers to share files with each other you can add a shared directory owned by root with group smbusers and permissions 770 you could make joe and admin admin users using the admin users directive if you already did this and joe and admin dont have write access to everything then something is wrong. brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ldap and xp can´t join the domain /sorry
On Fri, 2002-04-26 at 01:00, Axel Machens wrote: Hi, sorry I forgot the samba version and system Informations in my Mail at yesterday ldap and xp can´t join the domain. The samba version is 2.2.3a on SuSE 7.3 oh then you have a different problem... try removing the machine name users from your ldap database and let samba create them for you (like it says in the howto collection) watch the logs for what is going on when you try to join the domain. brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] LDAP parameters
On Fri, 2002-04-26 at 10:35, Pascal Schelcher wrote: Hello, I have the current CVS files. My last version was 2.2.3a. I use the ldap server parameter, and in the current CVS version, this parameters is deleted. So is there a documentation to configure samba with LDAP with the current CVS version ? Or what is the syntax of those parameters : I've got the ldap stuff working (though i still cant join the domain) - ldap suffix - ldap machine suffix - ldap user suffix i found that if just leave the ldap suffix set and clear out the machine and user suffix they default back to the ldap suffix. Mine are all the same - probably this is so you could put machine accounts on one ldap database and users in a different one. - ldap filter dunno about this one - i'm not using it - ldap ssl I'm not using ldap ssl but that is on or off or startTLS i think Are some others LDAP parameters ? the most important one is the ldap admin dn = (that's the same as it used to be) don't forget to do smbpasswd -w to set the admin user's password brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [samba] calculate memory and cpu use
How can i measure the consumption of samba's processes (backgroung processes and user's connections) ? I need to evaluate this to specify cpu and ram values your message is coming through too many times. uh ps aux? brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
sysconfdir vs libdir for smb.conf
right now the Makefile says CONFIGFILE = $(LIBDIR)/smb.conf libdir is set by the ./configure script and is suggested to be /usr/lib or /usr/local/lib I want my smb.conf in /etc/samba (or at least /etc) not /usr or /usr/local there is a configure parameter sysconfdir that replaces sysconfdir in the makefile but sysconfdir does not exist in the make file so it's a useless parameter. I think maybe configure should be run with --sysconfdir=/etc or --sysconfdir=/etc/samba which should set up the make file to put smb.conf and friends there here is a patch to do that diff -r1.471 Makefile.in 46a47 CONFDIR = sysconfdir 55,57c56,58 CONFIGFILE = $(LIBDIR)/smb.conf LMHOSTSFILE = $(LIBDIR)/lmhosts DRIVERFILE = $(LIBDIR)/printers.def --- CONFIGFILE = $(CONFDIR)/smb.conf LMHOSTSFILE = $(CONFDIR)/lmhosts DRIVERFILE = $(CONFDIR)/printers.def
Re: [Samba] ldap and xp can´t join the domain
On Thu, 2002-04-25 at 16:56, Axel Machens wrote: But I ´m not shure about the working with machine accounts to join my domain named samba. I assume you are using samba3 head? if so I'm also having trouble getting an XP pro machine to join the domain. It use to just work with 2.2.4pre - the machine account would be created automatically. now there is a new config param add machine script in swat - I don't know what I need to put in there - but i'm looking through the code to find out. and ldapsearch -x gives me the working entry. And I have a user named admin and set passwd with smbpasswd -w ##. But when I join the domain with admin and passwd it gives the error that I have not the rights to join the samba domin. i also did this and i get a bunch of errors in the logs [2002/04/25 17:50:34, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/25 17:50:34, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=TESTPC [2002/04/25 17:50:34, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=testpc [2002/04/25 17:50:34, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 17:50:34, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 17:50:34, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/25 17:50:34, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/25 17:50:34, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [root] - [root] - [root] suceeded [2002/04/25 17:50:35, 2] smbd/server.c:exit_server(498) Closing connections [2002/04/25 17:50:35, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 17:50:35, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 17:50:35, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/25 17:50:35, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/25 17:50:35, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/25 17:50:36, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2102) Returning domain sid for domain LAUELAB - S-1-5-21-952143027-1224863391-451646606 [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=testpc$)(objectclass=sambaAccount))] [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=testpc$)(objectclass=sambaAccount))] [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[uid=testpc$] [2002/04/25 17:50:36, 2] passdb/pdb_ldap.c:init_ldap_from_sam(734) Setting entry for user: testpc$ [2002/04/25 17:50:36, 0] passdb/pdb_ldap.c:init_ldap_from_sam(747) NO user RID specified on account testpc$, cannot store! [2002/04/25 17:50:36, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(1387) ldapsam_add_sam_account: init_ldap_from_sam failed! [2002/04/25 17:50:36, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(1979) could not add user/computer testpc$ to passdb. Check permissions? [2002/04/25 17:50:36, 2] smbd/server.c:exit_server(498) Closing connections [2002/04/25 17:50:37, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.185) [2002/04/25 17:50:37, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=G05C-3 [2002/04/25 17:50:37, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=g05c-3 [2002/04/25 17:50:37, 2] lib/access.c:check_access(309) Allowed connection from
[Samba] repeated user lookups in ldap
im using yesterday's HEAD (3.0alpha17...) with ldapsam at log level 2 with essentially no activity on the network i get user lookups every couple of seconds in the logs - is this normal? It looks like maybe a client is makeing repeated transient are you there type connections. I didn't see this in the log with samba 2.2.4pre. here is the output from smbstatus Samba version 3.0-alpha17 PID Username Group Machine --- 18845 lauelab labusers yphantis (132.177.47.94) Service pid machine Connected at --- data 18845 yphantis Thu Apr 25 17:37:41 2002 IPC$ 15776 jdurant Thu Apr 25 17:30:04 2002 No locked files here is the output from log.smbd [2002/04/25 18:16:32, 2] lib/access.c:check_access(309) Allowed connection from (132.177.46.199) [2002/04/25 18:16:32, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=LAUELAB06 [2002/04/25 18:16:32, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=lauelab06 [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=TPM)(objectclass=sambaAccount))] [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: tpm [2002/04/25 18:16:32, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [TPM] - [TPM] - [tpm] suceeded [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=tpm)(objectclass=sambaAccount))] [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: tpm [2002/04/25 18:16:32, 2] lib/access.c:check_access(309) Allowed connection from (132.177.46.199) [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=tpm)(objectclass=sambaAccount))] [2002/04/25 18:16:32, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: tpm [2002/04/25 18:16:34, 2] smbd/server.c:exit_server(498) Closing connections [2002/04/25 18:16:47, 2] lib/access.c:check_access(309) Allowed connection from (132.177.46.199) [2002/04/25 18:16:47, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=LAUELAB06 [2002/04/25 18:16:47, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=lauelab06 [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=TPM)(objectclass=sambaAccount))] [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: tpm [2002/04/25 18:16:47, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [TPM] - [TPM] - [tpm] suceeded [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=tpm)(objectclass=sambaAccount))] [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: tpm [2002/04/25 18:16:47, 2] lib/access.c:check_access(309) Allowed connection from (132.177.46.199) [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=tpm)(objectclass=sambaAccount))] [2002/04/25 18:16:47, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found
patch to fix ...lang/man* problem with rpm compilation
I think this is the wrong way to fix this but I don't know the right way. diff -r1.23 samba2.spec.tmpl 450,453c456,459 %attr(-,root,root) MANDIR_MACRO/man1/* %attr(-,root,root) MANDIR_MACRO/man5/* %attr(-,root,root) MANDIR_MACRO/man7/* %attr(-,root,root) MANDIR_MACRO/man8/* --- %attr(-,root,root) MANDIR_MACRO/lang/man1/* %attr(-,root,root) MANDIR_MACRO/lang/man5/* %attr(-,root,root) MANDIR_MACRO/lang/man7/* %attr(-,root,root) MANDIR_MACRO/lang/man8/*
joining machine to domain with ldapsam backend
I'm assuming that talk about samba3 belongs here, please let me know if i should take it to samba I'm trying to join a machine to today's head here is the what I get in the log file - how should we assign an RID to a machine account? do I need to add a special script in the add machine script parameter to make this work? how should we assign an RID to a machine account? [2002/04/23 20:32:53, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=TESTPC [2002/04/23 20:32:53, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=testpc [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:53, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [root] - [root] - [root] suceeded [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:54, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:54, 2] smbd/server.c:exit_server(498) Closing connections [2002/04/23 20:32:54, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:54, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=TESTPC [2002/04/23 20:32:54, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=testpc [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [root] - [root] - [root] suceeded [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2102) Returning domain sid for domain LAUELAB - S-1-5-21-952143027-1224863391-451646606 [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching
Re: [Samba] windows xp
On Sun, 2002-04-21 at 17:01, Gary Neff wrote: I recently rebuilt my system after a server failure and lost several samba notes, I need the reg information for windows XP so that I can log onto my Linux box. I am using redhat 7.2 as my PDC. Does anyone have this reg information; I would very much appreciate the necessary reg lines. Thanks Gary Neff [EMAIL PROTECTED] http://www.gneff.com its in the source ball look for signorseal brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
head rpm build fails due to make_printerdef not building
maybe its a makefile problem? there is no object file after the build but I didn't see any obvious errors in the compilation step (other than the usual discarding qualifiers stuff) also --with-pam_smbpass cannot complete compilation with the current HEAD. I'll try to track down the first problem later if nobody else has had a look by the time I get back from teaching class. brad
Re: [Samba] Error connecting to samba 3.0 alpha from windows
On Wed, 2002-04-17 at 17:41, Daniel J. Charboneau wrote: Samba logs the following [2002/04/17 16:35:31, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(353) getsmbfilepwent: malformed password entry (no :) [2002/04/17 16:35:31, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(353) getsmbfilepwent: malformed password entry (no :) [2002/04/17 16:35:31, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(353) getsmbfilepwent: malformed password entry (no :) [2002/04/17 16:35:31, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(353) getsmbfilepwent: malformed password entry (no :) [2002/04/17 16:35:31, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(353) getsmbfilepwent: malformed password entry (no :) [2002/04/17 16:35:31, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(353) getsmbfilepwent: malformed password entry (no :) [2002/04/17 16:35:31, 0] auth/auth_domain.c:domain_client_validate(300) domain_client_validate: Domain password server not available. And windows says a device attached to the system is not functioning properly When I try to connect by typing \\sambaserver\public file:///\\sambaserver\public Any help as to why this is happening would be great. Dan Charboneau (Samba Newbie) i think there might be a problem with your smbpassword file ;) brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Windows 98 not connecting
On Tue, 2002-04-09 at 12:11, Neil Aggarwal wrote: Hello: I still cant connect. Is there any way to get more information on the user and password that are being suplied to the samba server? turn up the logging and examine /var/log/samba/log.smbd (or whatever it is on your system) brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] unable to complete ./configure --with-ldapsam without openldap-devel
I get this message when i attempt ./configure --with-ldapsam ... (see below if you care) configure: error: summary failure. Aborting config This occurs on a redhat 7.2 system kernel 2.4.18-xfs After installing openldap-devel i am able to compile. maybe the configure script should check and give a better error? Sorry - I don't know how to patch it myself. brad creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O ) works... yes checking whether the C compiler (gcc -O ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for mawk... no checking for gawk... gawk checking whether gcc and cc understand -c and -o together... yes checking that the C compiler understands volatile... yes checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking config.cache system type... same checking for LFS support... yes checking for inline... inline checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for sys/fcntl.h... yes checking for sys/select.h... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for sys/unistd.h... yes checking for unistd.h... yes checking for utime.h... yes checking for grp.h... yes checking for sys/id.h... no checking for limits.h... yes checking for memory.h... yes checking for net/if.h... yes checking for compat.h... no checking for rpc/rpc.h... yes checking for rpcsvc/nis.h... yes checking for rpcsvc/yp_prot.h... yes checking for rpcsvc/ypclnt.h... yes checking for sys/param.h... yes checking for ctype.h... yes checking for sys/wait.h... (cached) yes checking for sys/resource.h... yes checking for sys/ioctl.h... yes checking for sys/ipc.h... yes checking for sys/mode.h... no checking for sys/mman.h... yes checking for sys/filio.h... no checking for sys/priv.h... no checking for sys/shm.h... yes checking for string.h... yes checking for strings.h... yes checking for stdlib.h... yes checking for sys/socket.h... yes checking for sys/mount.h... yes checking for sys/vfs.h... yes checking for sys/fs/s5param.h... no checking for sys/filsys.h... no checking for termios.h... yes checking for termio.h... yes checking for sys/termio.h... no checking for sys/statfs.h... yes checking for sys/dustat.h... no checking for sys/statvfs.h... yes checking for stdarg.h... yes checking for sys/sockio.h... no checking for security/pam_modules.h... yes checking for security/_pam_macros.h... yes checking for synch.h... no checking for pthread.h... yes checking for nsswitch.h... no checking for shadow.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for netinet/in_systm.h... yes checking for netinet/in_ip.h... no checking for nss.h... yes checking for nss_common.h... no checking for ns_api.h... no checking for sys/security.h... no checking for security/pam_appl.h... yes checking for security/pam_modules.h... (cached) yes checking for stropts.h... yes checking for poll.h... yes checking for sys/capability.h... no checking for syscall.h... yes checking for sys/syscall.h... yes checking for sys/acl.h... yes checking for sys/cdefs.h... yes checking for glob.h... yes checking for utmp.h... yes checking for utmpx.h... yes checking for lastlog.h... yes checking for sys/fs/vx_quota.h... no checking for linux/xqm.h... yes checking size of int... 4 checking size of long... 4 checking size of short... 2 checking for working const... yes checking for inline... (cached) inline checking whether byte ordering is bigendian... no checking whether char is unsigned... no checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for pid_t... yes checking for st_rdev in struct stat... yes checking for d_off in dirent... yes checking for ino_t... yes checking for loff_t... yes checking for offset_t... no checking for ssize_t... yes checking for wchar_t... yes checking for httpConnect in -lcups... no checking for dlopen in -ldl... yes checking for immediate structures... yes checking for unix domain sockets... yes checking for socklen_t type... yes checking for sig_atomic_t type... yes checking for errno declaration... yes checking for setresuid declaration... no checking for setresgid declaration... no checking for asprintf declaration... yes checking for vasprintf declaration... yes checking for vsnprintf declaration... yes checking for snprintf declaration... yes checking for real setresuid... yes checking for real