summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python
Commit message (Expand)AuthorAgeFilesLines
...
* s4-net: allow a username to be displayed in setpassword errorsAndrew Tridgell2010-04-161-1/+6
* s4-net: nicer error message (and no exception)Andrew Tridgell2010-04-162-5/+17
* pydsdb: Fix memory leak on invalid parameters, formatting, trivialJelmer Vernooij2010-04-151-9/+7
* s4 python: add a unit test for function dsdb_get_oid_from_attidMatthieu Patou2010-04-151-0/+44
* s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB o...Matthieu Patou2010-04-151-0/+3
* Fixed a problem with provision missing the default_dir/etc directory.Nadezhda Ivanova2010-04-121-2/+2
* s4-net: Add definition of outf.Jelmer Vernooij2010-04-121-0/+2
* s4:provision Don't make the 'slaptest' call produce errorsAndrew Bartlett2010-04-101-6/+3
* s4-waf: only enable the python uuid module if python <= 2.4Andrew Tridgell2010-04-091-1/+2
* s4-net: Cope with options without arguments.Jelmer Vernooij2010-04-091-1/+2
* s4-net: 'net user create' -> 'net user add', for backwards compatibility.Jelmer Vernooij2010-04-091-3/+3
* Support --version in python scripts.Jelmer Vernooij2010-04-091-0/+8
* s4-net: Convert machinepw command to python.Jelmer Vernooij2010-04-094-63/+114
* s4-net: Convert vampire command over to Python.Jelmer Vernooij2010-04-092-0/+117
* s4-net: Convert user subcommand to Python.Jelmer Vernooij2010-04-092-0/+76
* s4/dsdb: Set schemaInfo attribute value during provisioningKamen Mazdrashki2010-04-093-0/+31
* s4-net: Convert 'net time' to python.Jelmer Vernooij2010-04-082-0/+47
* net: Convert time command to python.Jelmer Vernooij2010-04-081-1/+1
* s4-net: Use new Net() object in net export keytab.Jelmer Vernooij2010-04-081-2/+2
* pynet: Create a net class.Jelmer Vernooij2010-04-081-3/+4
* s4-python: Fix formatting, use standard convention to call instance methods.Jelmer Vernooij2010-04-086-49/+51
* s4-python: Cancel transaction properly in case of exceptions, fix formatting.Jelmer Vernooij2010-04-081-29/+33
* s4-python: Move load_partition_usn to dsdb module.Jelmer Vernooij2010-04-082-48/+3
* s4-python: More cleanups.Jelmer Vernooij2010-04-084-15/+27
* s4-python: rename samba.glue to samba._glue to indicate it's private.Jelmer Vernooij2010-04-085-18/+18
* s4-python: Fix formatting, import of FLG_NOSYNC.Jelmer Vernooij2010-04-082-2/+2
* s4-python: Simplify code, improve formatting.Jelmer Vernooij2010-04-086-210/+178
* s4-python: Remove obsolete and broken torture modules.Jelmer Vernooij2010-04-085-963/+0
* s4-python: samdb: Default to using global schema.Jelmer Vernooij2010-04-081-2/+1
* Migrate 'net export keytab' to python.Jelmer Vernooij2010-04-082-0/+59
* s4-net: Simplify SamDB connect code.Jelmer Vernooij2010-04-088-49/+10
* s4-python: Move set_global_schema to pydsdb.Jelmer Vernooij2010-04-082-19/+1
* s4-samdb: Allow skipping global schema.Jelmer Vernooij2010-04-073-8/+9
* s4-provision: Proper handling of exceptions, use SamDB class but skip global ...Jelmer Vernooij2010-04-071-10/+17
* s4-python: Move samdb_ntds_objectGUID to pydsdb.Jelmer Vernooij2010-04-073-157/+48
* s4:provision - add a comment which explains why "paths.dns_keytab" is stored ...Matthias Dieter Wallnöfer2010-04-071-0/+3
* s4-python: Use standard infrastructure for finding included testtools, subuni...Jelmer Vernooij2010-04-071-2/+0
* s4-python: Move set_session_info to PySambaLdb.Jelmer Vernooij2010-04-063-31/+4
* s4-python: Move register_samba_handlers to PySambaLdb.Jelmer Vernooij2010-04-062-20/+1
* s4-python: Move ldb_set_utf8_casefold to pyldb-samba.Jelmer Vernooij2010-04-062-29/+3
* Move glue.set_credentials hack to samba.Ldb.Jelmer Vernooij2010-04-062-27/+0
* Add C-based Samba-specific subclass of Ldb.Jelmer Vernooij2010-04-062-30/+2
* s4-waf: updates for the new python installer from jelmerAndrew Tridgell2010-04-062-13/+0
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ...Andrew Tridgell2010-04-063-0/+6
* s4-waf: install the rest of our python filesAndrew Tridgell2010-04-062-0/+13
* build: waf quicktest nearly worksAndrew Tridgell2010-04-061-1/+7
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-062-0/+42
* s4:python/samba/__init__.py - import "sys" for "ensure_external_module" methodMatthias Dieter Wallnöfer2010-04-051-1/+1
* s4-python: Move dsdb_convert_schema_to_openldap to dsdb.Jelmer Vernooij2010-04-042-26/+1
* s4-python: Move set_opaque_integer -> dsdb.Jelmer Vernooij2010-04-042-63/+1
hl ppc">#define DP_RCR 0x0c /* write */ #define DP_FER 0x0d #define DP_TCR 0x0d /* write */ #define DP_CER 0x0e #define DP_DCR 0x0e /* write */ #define DP_MISSED 0x0f #define DP_IMR 0x0f /* write */ #define DP_DATAPORT 0x10 /* "eprom" data port */ #define DP_P1_CR 0x00 #define DP_P1_PAR0 0x01 #define DP_P1_PAR1 0x02 #define DP_P1_PAR2 0x03 #define DP_P1_PAR3 0x04 #define DP_P1_PAR4 0x05 #define DP_P1_PAR5 0x06 #define DP_P1_CURP 0x07 #define DP_P1_MAR0 0x08 #define DP_P1_MAR1 0x09 #define DP_P1_MAR2 0x0a #define DP_P1_MAR3 0x0b #define DP_P1_MAR4 0x0c #define DP_P1_MAR5 0x0d #define DP_P1_MAR6 0x0e #define DP_P1_MAR7 0x0f #define DP_P2_CR 0x00 #define DP_P2_PSTART 0x01 #define DP_P2_CLDA0 0x01 /* write */ #define DP_P2_PSTOP 0x02 #define DP_P2_CLDA1 0x02 /* write */ #define DP_P2_RNPP 0x03 #define DP_P2_TPSR 0x04 #define DP_P2_LNPP 0x05 #define DP_P2_ACH 0x06 #define DP_P2_ACL 0x07 #define DP_P2_RCR 0x0c #define DP_P2_TCR 0x0d #define DP_P2_DCR 0x0e #define DP_P2_IMR 0x0f /* Command register - common to all pages */ #define DP_CR_STOP 0x01 /* Stop: software reset */ #define DP_CR_START 0x02 /* Start: initialize device */ #define DP_CR_TXPKT 0x04 /* Transmit packet */ #define DP_CR_RDMA 0x08 /* Read DMA (recv data from device) */ #define DP_CR_WDMA 0x10 /* Write DMA (send data to device) */ #define DP_CR_SEND 0x18 /* Send packet */ #define DP_CR_NODMA 0x20 /* Remote (or no) DMA */ #define DP_CR_PAGE0 0x00 /* Page select */ #define DP_CR_PAGE1 0x40 #define DP_CR_PAGE2 0x80 #define DP_CR_PAGEMSK 0x3F /* Used to mask out page bits */ /* Data configuration register */ #define DP_DCR_WTS 0x01 /* 1=16 bit word transfers */ #define DP_DCR_BOS 0x02 /* 1=Little Endian */ #define DP_DCR_LAS 0x04 /* 1=Single 32 bit DMA mode */ #define DP_DCR_LS 0x08 /* 1=normal mode, 0=loopback */ #define DP_DCR_ARM 0x10 /* 0=no send command (program I/O) */ #define DP_DCR_FIFO_1 0x00 /* FIFO threshold */ #define DP_DCR_FIFO_2 0x20 #define DP_DCR_FIFO_4 0x40 #define DP_DCR_FIFO_6 0x60 #define DP_DCR_INIT (DP_DCR_LS|DP_DCR_FIFO_4) /* Interrupt status register */ #define DP_ISR_RxP 0x01 /* Packet received */ #define DP_ISR_TxP 0x02 /* Packet transmitted */ #define DP_ISR_RxE 0x04 /* Receive error */ #define DP_ISR_TxE 0x08 /* Transmit error */ #define DP_ISR_OFLW 0x10 /* Receive overflow */ #define DP_ISR_CNT 0x20 /* Tally counters need emptying */ #define DP_ISR_RDC 0x40 /* Remote DMA complete */ #define DP_ISR_RESET 0x80 /* Device has reset (shutdown, error) */ /* Interrupt mask register */ #define DP_IMR_RxP 0x01 /* Packet received */ #define DP_IMR_TxP 0x02 /* Packet transmitted */ #define DP_IMR_RxE 0x04 /* Receive error */ #define DP_IMR_TxE 0x08 /* Transmit error */ #define DP_IMR_OFLW 0x10 /* Receive overflow */ #define DP_IMR_CNT 0x20 /* Tall counters need emptying */ #define DP_IMR_RDC 0x40 /* Remote DMA complete */ #define DP_IMR_All 0x3F /* Everything but remote DMA */ /* Receiver control register */ #define DP_RCR_SEP 0x01 /* Save bad(error) packets */ #define DP_RCR_AR 0x02 /* Accept runt packets */ #define DP_RCR_AB 0x04 /* Accept broadcast packets */ #define DP_RCR_AM 0x08 /* Accept multicast packets */ #define DP_RCR_PROM 0x10 /* Promiscuous mode */ #define DP_RCR_MON 0x20 /* Monitor mode - 1=accept no packets */ /* Receiver status register */ #define DP_RSR_RxP 0x01 /* Packet received */ #define DP_RSR_CRC 0x02 /* CRC error */ #define DP_RSR_FRAME 0x04 /* Framing error */ #define DP_RSR_FO 0x08 /* FIFO overrun */ #define DP_RSR_MISS 0x10 /* Missed packet */ #define DP_RSR_PHY 0x20 /* 0=pad match, 1=mad match */ #define DP_RSR_DIS 0x40 /* Receiver disabled */ #define DP_RSR_DFR 0x80 /* Receiver processing deferred */ /* Transmitter control register */ #define DP_TCR_NOCRC 0x01 /* 1=inhibit CRC */ #define DP_TCR_NORMAL 0x00 /* Normal transmitter operation */ #define DP_TCR_LOCAL 0x02 /* Internal NIC loopback */ #define DP_TCR_INLOOP 0x04 /* Full internal loopback */ #define DP_TCR_OUTLOOP 0x08 /* External loopback */ #define DP_TCR_ATD 0x10 /* Auto transmit disable */ #define DP_TCR_OFFSET 0x20 /* Collision offset adjust */ /* Transmit status register */ #define DP_TSR_TxP 0x01 /* Packet transmitted */ #define DP_TSR_COL 0x04 /* Collision (at least one) */ #define DP_TSR_ABT 0x08 /* Aborted because of too many collisions */ #define DP_TSR_CRS 0x10 /* Lost carrier */ #define DP_TSR_FU 0x20 /* FIFO underrun */ #define DP_TSR_CDH 0x40 /* Collision Detect Heartbeat */ #define DP_TSR_OWC 0x80 /* Collision outside normal window */ #define IEEE_8023_MAX_FRAME 1518 /* Largest possible ethernet frame */ #define IEEE_8023_MIN_FRAME 64 /* Smallest possible ethernet frame */ /* Functions */ int get_prom(u8* mac_addr, u8* base_addr); #endif /* __NE2000_BASE_H__ */